unable to send group chat invitation on gmail/aim/icq
siddharthchandra0 at gmail.com
Mon Aug 2 02:28:37 EDT 2010
On Sun, Aug 1, 2010 at 12:17 PM, Mark Doliner <mark at kingant.net> wrote:
> On Tue, Jul 27, 2010 at 6:30 AM, Siddharth Chandra
> <siddharthchandra0 at gmail.com> wrote:
>> I am unable to send group chat invitation on gmail/aim/icq protocols.
>> I use the following APIs in the nullclient code provided by libpurple.
>> PurpleConversation *new_conv;
>> PurpleConvChat *new_chat;
>> new_conv = purple_conversation_new(PURPLE_CONV_TYPE_CHAT, account,
>> new_chat = purple_conversation_get_chat_data (new_conv);
>> purple_conv_chat_invite_user(new_chat, buddy_name, msg, FALSE);
>> This works well with msn and yahoo.
> I can't speak for gmail, but for aim and icq... I wonder if maybe you
> have to "join" a chat room on the server before you're able to invite
> You'll have to look up how to do that. You could maybe try emulating
> pidgin_blist_joinchat_show() in pidgin/gtkblist.c
Thanks a lot for the pointer. I just browsed through pidgin and finch
blist code and I guess this might actually work. Will let you know if
More information about the Support