libpurple buddy add issues with msn

Duncan Berriman duncan at dcl.co.uk
Fri Dec 17 19:14:03 EST 2010


PS.

Just to be clear this is an outgoing buddy request.

Incoming buddy requests working fine, I handle those with a signal 
hander and reject/accept as required. In that case I could see the case 
for a request api to ask the user the question of whether to accept.

Duncan

On 17/12/2010 22:52, Elliott Sales de Andrade wrote:
> On Fri, Dec 17, 2010 at 2:42 PM, Duncan Berriman<duncan at dcl.co.uk>  wrote:
>> Hi,
>>
>> I am trying to add a buddy using libpurple with msn.
>>
>> I’m doing the following to add a new buddy….
>>
>>                 buddy = purple_buddy_new(account,"buddy at hotmail.com",NULL);
>>                 purple_blist_add_buddy(buddy, NULL, NULL, NULL);
>>                 purple_account_add_buddy(account,buddy);
>>
>> code works fine with googletalk but on msn the buddy never receives the
>> request and the buddy is not added to the msn buddy list.
>>
>> Using version 2.7.7 on centos 5.5
>>
>> Any ideas why this is not working as I’m stumped. I’ve even created a brand
>> new msn account for my client to connect and the only thing it has attempted
>> to do is sign on (with success) and add a buddy (seemingly with success but
>> nothing happens). As I mentioned above same code with google works first
>> time.
>>
> The MSN prpl pops up a request for the invite message. You would see
> the same thing on an Oscar account (AIM/ICQ). You need to implement
> the request API.
>
>> Thanks
>> Duncan




More information about the Devel mailing list