comparison 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
comparison
equal deleted inserted replaced
7123:d40966338ea6 7124:be4ca65b3b48
279 gaim_conv_chat_add_user(GAIM_CONV_CHAT(chat->conv), jid->resource, 279 gaim_conv_chat_add_user(GAIM_CONV_CHAT(chat->conv), jid->resource,
280 NULL); 280 NULL);
281 } 281 }
282 g_free(room_jid); 282 g_free(room_jid);
283 } else { 283 } else {
284 if(!(jb->subscription & JABBER_SUB_TO)) { 284 if(state != JABBER_STATE_ERROR && !(jb->subscription & JABBER_SUB_TO)) {
285 gaim_debug(GAIM_DEBUG_INFO, "jabber", 285 gaim_debug(GAIM_DEBUG_INFO, "jabber",
286 "got unexpected presence from %s, ignoring\n", from); 286 "got unexpected presence from %s, ignoring\n", from);
287 jabber_id_free(jid); 287 jabber_id_free(jid);
288 return; 288 return;
289 } 289 }