soc.2009.transport: f84a9283: Handle blist_update only when user is co...

hanzz at soc.pidgin.im hanzz at soc.pidgin.im
Mon Jun 22 14:45:40 EDT 2009


-----------------------------------------------------------------
Revision: f84a9283b4fac94933611d751b3c314c422577f1
Ancestor: 913bd4aed7075ca58901bf899255295e22ed94bf
Author: hanzz at soc.pidgin.im
Date: 2009-06-22T18:25:24
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/f84a9283b4fac94933611d751b3c314c422577f1

Modified files:
        user.cpp

ChangeLog: 

Handle blist_update only when user is connected

-------------- next part --------------
============================================================
--- user.cpp	6b8ddcb9173a57bc2171b6c789f993e99f1447a4
+++ user.cpp	d3def4b2bb98839b9b938bc7a56b6cd1af0c24c7
@@ -402,7 +402,7 @@ void User::purpleBuddyChanged(PurpleBudd
  * Called when something related to this buddy changed...
  */
 void User::purpleBuddyChanged(PurpleBuddy *buddy){
-	if (buddy==NULL)
+	if (buddy==NULL || m_connected == false)
 		return;
 	std::string alias;
 	if (purple_buddy_get_server_alias(buddy))


More information about the Commits mailing list