Menu

gaim_conv_im_send doesn't send a message

limbwizard
2006-12-05
2013-01-14
  • limbwizard

    limbwizard - 2006-12-05

    Hello!

    I'm trying to develop a simple console gaim-based client. I have a problem when sending im messages.

    Firstly I create a new im conversation with gaim_conversation_new(<im_conv_type>,<conv_name>)
    (It seems that I should pass buddy name as conv_name parameter to create im conversations, isn'it?)
    and then I call gaim_conv_im_send, it puts a message to queue and nothing happens.
    I test on msn account, in the msn protocol sources I found that when message is sent there will be started message processing function but I don't see its message in the debug output.

     
    • Sadrul Habib Chowdhury

      Note that for gaim_conv_im_send, the first parameter is a GaimConvIm, not GaimConversation. So you need to do something like 'gaim_conv_im_send(GAIM_CONV_IM(conv), "message");'.

      About the console based client, are you aware of gaim-text?