changeset 29404:9c9cfcd69181

jabber: Document these boundaries, because scrolling this much is terrible.
author Paul Aurich <paul@darkrain42.org>
date Wed, 10 Feb 2010 05:25:12 +0000
parents a363b5aff793
children 1d1e653c4315
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) {