pidgin: 62919c16: jabber: Document these boundaries, becau...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Feb 10 01:08:19 EST 2010


-----------------------------------------------------------------
Revision: 62919c16628070664295946932fc2aeb6d904324
Ancestor: 8eabca26aece03779958d7090c8048de3a9f03b7
Author: darkrain42 at pidgin.im
Date: 2010-02-10T05:25:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/62919c16628070664295946932fc2aeb6d904324

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

ChangeLog: 

jabber: Document these boundaries, because scrolling this much is terrible.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c	440358f5ea4d76c82108bc98d6994c1476dbd273
+++ libpurple/protocols/jabber/presence.c	7965e6ef55da28e6157c2e6ee1309cec7fa841a1
@@ -676,6 +676,7 @@ void jabber_presence_parse(JabberStream 
 		idle += offset;
 	}
 
+	/* DEALING WITH CHATS */
 	if(jid->node && (chat = jabber_chat_find(js, jid->node, jid->domain))) {
 		static int i = 1;
 
@@ -955,7 +956,9 @@ void jabber_presence_parse(JabberStream 
 			g_free(nickname);
 			g_return_if_reached();
 		}
+		/* End of DEALING WITH CHATS...about 5000 lines ago */
 	} else {
+		/* DEALING WITH CONTACT (i.e. not a chat) */
 		buddy_name = g_strdup_printf("%s%s%s", jid->node ? jid->node : "",
 									 jid->node ? "@" : "", jid->domain);
 		if((b = purple_find_buddy(account, buddy_name)) == NULL) {


More information about the Commits mailing list