pidgin: 32e078db: A JID can have no node (the part before ...

qulogic at qulogic at
Sun Feb 8 00:10:22 EST 2009

Revision: 32e078dbbf6d15a1c0a2916f1d590ea45f3c364d
Ancestor: 8d4081da0c186c04dc75d736d688bf4f20e52676
Author: qulogic at
Date: 2009-02-08T05:02:30
Branch: im.pidgin.pidgin

Modified files:


A JID can have no node (the part before the @), but a chat must have one,
so don't look for chats if the JID has no node.

Fixes #8375.

-------------- next part --------------
--- libpurple/protocols/jabber/buddy.c	32080f9a47d094204e286f9189063df22d97e7ec
+++ libpurple/protocols/jabber/buddy.c	9ff67c9f62fa077196d25f2e4458bfec2e759991
@@ -1786,7 +1786,7 @@ void jabber_buddy_get_info(PurpleConnect
 	if (!jid)
-	if (jabber_chat_find(js, jid->node, jid->domain)) {
+	if (jid->node && jabber_chat_find(js, jid->node, jid->domain)) {
 		/* For a conversation, include the resource (indicates the user). */
 		jabber_buddy_get_info_for_jid(js, who);
 	} else {

More information about the Commits mailing list