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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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?