Buddy Status

Giuseppe Santoro giuseppesantoro87 at gmail.com
Sun Mar 14 15:43:53 EDT 2010


Hi Pidgin Developers,

I'm studying libpurple and pidgin to give my contribution in this project.

I have a question:

if I have a PurpleBuddy, how do I get his state?
I tried this code but state is ever "OFFLINE":

            presence = purple_buddy_get_presence(buddy);
            status = purple_presence_get_active_status(presence);
            printf("%s\n", purple_status_get_name(status));

where am I wrong?

thanks,
Giuseppe Santoro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20100314/2c58b563/attachment.html>


More information about the Devel mailing list