diff libpurple/protocols/jabber/parser.c @ 17879:108f3b42976f

Introduced an additional connection stage to the jabber connection progress in order to be able to tell in the application, whether SSL/TLS is enabled, so it can display a lock icon next to the connection.
author Andreas Monitzer <pidgin@monitzer.com>
date Wed, 20 Jun 2007 10:18:52 +0000
parents 7a3a66c6530a
children bbd92ee894f2
line wrap: on
line diff
--- 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 {