libpurple/protocols/jabber/presence.c

changeset 29334
52984a101b73
parent 29333
bf8b44d39353
child 29335
42a03a1ae027
--- a/libpurple/protocols/jabber/presence.c	Wed Feb 10 05:22:00 2010 +0000
+++ b/libpurple/protocols/jabber/presence.c	Wed Feb 10 05:25:12 2010 +0000
@@ -676,6 +676,7 @@
 		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 @@
 			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) {

mercurial