libpurple buddy add issues with msn

Elliott Sales de Andrade qulogic at pidgin.im
Fri Dec 17 17:52:03 EST 2010


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

-- 
Elliott aka QuLogic
Pidgin developer




More information about the Devel mailing list