Skype Plugin

Atamurad Hezretkuliyev atamyrat at gmail.com
Wed Sep 19 01:39:12 EDT 2007


I'm not a purple/pidgin developer, so you better ask it to the list.

AFAIK, serv_got_im should work even if there's no open conversation 
window. That's the way other protocol plugins do it.
Can you post backtrace and maybe source code?

Eion Robb wrote:
> On Tue, 18 Sep 2007 17:58:43 +1200, Atamurad Hezretkuliyev 
> <atamyrat at gmail.com> wrote:
>
>>> I currently have the list of skype buddies in the buddy list, and 
>>> can send messages using Pidgin. I can manage to receive them, but 
>>> I'm not sure how to give them back to libpurple. I've tried:
>>>
>>> PurpleConversation *convo;
>>> convo = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, 
>>> sender, account);
>>> purple_conv_im_write(convo, sender, body, PURPLE_MESSAGE_RECV, mtime);
>>>
>>> but this segfaults on the find_conversation bit. Is there an easier 
>>> way that I'm supposed to send back the messages?
>>>
>>>
>> Check out serv_got_im function;
>>
>
>
> Thanks for that. I'm getting segfaults when calling serv_got_im when 
> there isn't a conversation window open though. Is there some special 
> trick I need to do?
>




More information about the Devel mailing list