Help for change self status with libpurple

Ka-Hing Cheung khc at
Sun Apr 12 22:08:40 EDT 2009

On Wed, Apr 01, 2009 at 01:18:39AM -0700, 潘云泓 wrote:
> Hello , everyone . Who can tell me how to change myself status using
> libpurple?I try to use the purple_account_set_status( account ,
> status_str.c_str() , TRUE, NULL);But it seems did not work.So, thank you for
> your attention

Try purple_account_set_status(account, "available", TRUE, "message",
	status_str.c_str(), NULL)

Replace "available" with the desired status type ("away", "busy", etc)
if necessary. Also, devel at is a better mailing list if you
want to ask coding questions.


More information about the Devel mailing list