changeset 15262:dfaad00e60dd

[gaim-migrate @ 18052] Things are wrong if we get presence for a Jabber buddy not on our list... I've added a debug warning to point out when that happens. committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 26 Dec 2006 02:01:15 +0000
parents b5dff06f9c84
children a46c40c7a0e9
files libgaim/protocols/jabber/presence.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/jabber/presence.c	Mon Dec 25 06:01:33 2006 +0000
+++ b/libgaim/protocols/jabber/presence.c	Tue Dec 26 02:01:15 2006 +0000
@@ -507,6 +507,8 @@
 		buddy_name = g_strdup_printf("%s%s%s", jid->node ? jid->node : "",
 				jid->node ? "@" : "", jid->domain);
 		if((b = gaim_find_buddy(js->gc->account, buddy_name)) == NULL) {
+			gaim_debug_warning("jabber", "Got presence for unknown buddy %s on account %s (%x)",
+				buddy_name, gaim_account_get_username(js->gc->account), js->gc->account);
 			jabber_id_free(jid);
 			if(avatar_hash)
 				g_free(avatar_hash);