pidgin: dd0caddd: I think it's reasonable for prpls to cal...

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Jan 13 16:31:22 EST 2009


-----------------------------------------------------------------
Revision: dd0cadddab583bee3376839f4ebac42f28f5fc1a
Ancestor: e602a35f60e3d423d43bacc72fcb7239c8b43cf0
Author: markdoliner at pidgin.im
Date: 2009-01-13T21:27:58
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dd0cadddab583bee3376839f4ebac42f28f5fc1a

Modified files:
        libpurple/prpl.c

ChangeLog: 

I think it's reasonable for prpls to call purple_prpl_got_user_idle()
before our account is fully connected.

-------------- next part --------------
============================================================
--- libpurple/prpl.c	1e2df97bcf949adfc848ee4e0770cfdd0c6233b0
+++ libpurple/prpl.c	5295bcc4c9a4ddf70de7b4f18003e5ae2e3ec272
@@ -190,7 +190,7 @@ purple_prpl_got_user_idle(PurpleAccount 
 
 	g_return_if_fail(account != NULL);
 	g_return_if_fail(name    != NULL);
-	g_return_if_fail(purple_account_is_connected(account));
+	g_return_if_fail(purple_account_is_connected(account) || purple_account_is_connecting(account));
 
 	if ((list = purple_find_buddies(account, name)) == NULL)
 		return;


More information about the Commits mailing list