libpurple/protocols/jabber/parser.c

branch
soc.2007.xmpp
changeset 17813
c5cc8ebf62c0
parent 17810
c8d4297080cb
child 17828
6957bf9d7330
--- a/libpurple/protocols/jabber/parser.c	Wed Jun 20 00:25:37 2007 +0000
+++ b/libpurple/protocols/jabber/parser.c	Wed Jun 20 10:18:52 2007 +0000
@@ -63,7 +63,7 @@
 		if(js->protocol_version == JABBER_PROTO_0_9)
 			js->auth_type = JABBER_AUTH_IQ_AUTH;
 
-		if(js->state == JABBER_STREAM_INITIALIZING)
+		if(js->state == JABBER_STREAM_INITIALIZING || js->state == JABBER_STREAM_INITIALIZING_ENCRYPTION)
 			jabber_stream_set_state(js, JABBER_STREAM_AUTHENTICATING);
 	} else {
 

mercurial