Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.c @ 25826:af2b883df9a3
Wait until receiving the roster to tell the core we're logged in
References #8385 (hopefully, this cures it, but I'm not sure).
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 10 Feb 2009 04:43:50 +0000 |
parents | 69495c6f12af |
children | 394252b681bc |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Tue Feb 10 04:39:16 2009 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Feb 10 04:43:50 2009 +0000 @@ -92,7 +92,7 @@ { const char *type = xmlnode_get_attrib(packet, "type"); if(type && !strcmp(type, "result")) { - jabber_stream_set_state(js, JABBER_STREAM_CONNECTED); + jabber_disco_items_server(js); if(js->unregistration) jabber_unregister_account_cb(js); } else { @@ -1527,7 +1527,6 @@ case JABBER_STREAM_CONNECTED: /* now we can alert the core that we're ready to send status */ purple_connection_set_state(js->gc, PURPLE_CONNECTED); - jabber_disco_items_server(js); break; } }