--- a/src/protocols/jabber/jabber.c Wed Aug 27 06:15:14 2003 +0000 +++ b/src/protocols/jabber/jabber.c Wed Aug 27 20:34:12 2003 +0000 @@ -700,7 +700,8 @@ /* special case: name == stream:stream */ /* id attrib of stream is stored for digest auth */ gjc->sid = g_strdup(xmlnode_get_attrib(x, "id")); - /* STATE_EVT(JCONN_STATE_AUTH) */ + gjc->state = JCONN_STATE_ON; + STATE_EVT(JCONN_STATE_ON); xmlnode_free(x); } else { gjc->current = x; @@ -789,9 +790,6 @@ gjab_send_raw(gjc, t); xmlnode_free(x); - gjc->state = JCONN_STATE_ON; - STATE_EVT(JCONN_STATE_ON); - gc = GJ_GC(gjc); gc->inpa = gaim_input_add(gjc->fd, GAIM_INPUT_READ, jabber_callback, gc); }