pidgin: 2c0d977a: jabber: This is more clear.
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun Nov 29 12:42:55 EST 2009
-----------------------------------------------------------------
Revision: 2c0d977aed0df2284d4d520df21a46b0f6759ac9
Ancestor: 3e6ed1829a654e5c7cf286670e3adc20e6158113
Author: darkrain42 at pidgin.im
Date: 2009-11-27T20:52:01
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2c0d977aed0df2284d4d520df21a46b0f6759ac9
Modified files:
libpurple/protocols/jabber/presence.c
ChangeLog:
jabber: This is more clear.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c bd0687baa39cdcc2481c7092e1be4f73e628fd8f
+++ libpurple/protocols/jabber/presence.c 67160bb597d0936808fe5ffc1c6d62a9993afb00
@@ -957,7 +957,7 @@ void jabber_presence_parse(JabberStream
buddy_name = g_strdup_printf("%s%s%s", jid->node ? jid->node : "",
jid->node ? "@" : "", jid->domain);
if((b = purple_find_buddy(js->gc->account, buddy_name)) == NULL) {
- if(!jid->node || strcmp(jid->node,js->user->node) || strcmp(jid->domain,js->user->domain)) {
+ if (jb != js->user_jb) {
purple_debug_warning("jabber", "Got presence for unknown buddy %s on account %s (%p)\n",
buddy_name, purple_account_get_username(js->gc->account), js->gc->account);
jabber_id_free(jid);
More information about the Commits
mailing list