# HG changeset patch # User Paul Aurich # Date 1265779512 0 # Node ID 9c9cfcd691815219dee059d11212d94e3beb534c # Parent a363b5aff7932e4d230bb5f56ae4419b7319892f jabber: Document these boundaries, because scrolling this much is terrible. diff -r a363b5aff793 -r 9c9cfcd69181 libpurple/protocols/jabber/presence.c --- 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) {