diff src/protocols/jabber/presence.c @ 7124:be4ca65b3b48

[gaim-migrate @ 7691] jabber password changing, and some other fix I forgot I made. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 02 Oct 2003 04:56:25 +0000
parents bf630f7dfdcd
children 0e4894b3e2a6
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Thu Oct 02 04:16:50 2003 +0000
+++ b/src/protocols/jabber/presence.c	Thu Oct 02 04:56:25 2003 +0000
@@ -281,7 +281,7 @@
 		}
 		g_free(room_jid);
 	} else {
-		if(!(jb->subscription & JABBER_SUB_TO)) {
+		if(state != JABBER_STATE_ERROR && !(jb->subscription & JABBER_SUB_TO)) {
 			gaim_debug(GAIM_DEBUG_INFO, "jabber",
 					"got unexpected presence from %s, ignoring\n", from);
 			jabber_id_free(jid);