pidgin: 4a470af3: jabber: Whoops. Nick changes are suppos...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Thu Apr 1 14:35:40 EDT 2010


-----------------------------------------------------------------
Revision: 4a470af3f892b6e0337b0f9bb37a216c7370e8fa
Ancestor: 476c108653655f35df274993bb4fa00f5d82d523
Author: darkrain42 at pidgin.im
Date: 2010-04-01T18:34:34
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4a470af3f892b6e0337b0f9bb37a216c7370e8fa

Modified files:
        libpurple/protocols/jabber/presence.c

ChangeLog: 

jabber: Whoops.  Nick changes are supposed to actually work...

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c	2d9b60975109d2df702aee042359bd2531e203ef
+++ libpurple/protocols/jabber/presence.c	4475348829fb0bc365248fcd6b290441cc1be7c6
@@ -682,7 +682,7 @@ handle_presence_chat(JabberStream *js, J
 					nick = xmlnode_get_attrib(presence->chat_info.item, "nick");
 
 				/* nick change */
-				if (nick) {
+				if (!nick) {
 					purple_debug_warning("jabber", "Chat presence indicating a nick change, but no new nickname!\n");
 				} else {
 					nick_change = TRUE;


More information about the Commits mailing list