changeset 29881:10c31a8137da

propagate from branch 'im.pidgin.pidgin.mxit' (head 52cb0cc1b49e76b923073e23934af6c8471b984b) to branch 'im.pidgin.pidgin' (head e2b248cde7da3263203e398bf5511f43bc1359b0)
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 05 May 2010 05:26:29 +0000
parents 1147389b5424 (diff) 711cd774ea84 (current diff)
children 00fb495f6f97
files
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/mxit/protocol.c	Tue May 04 21:20:26 2010 +0000
+++ b/libpurple/protocols/mxit/protocol.c	Wed May 05 05:26:29 2010 +0000
@@ -1266,6 +1266,15 @@
 	purple_connection_update_progress( session->con, _( "Successfully Logged In..." ), 3, 4 );
 	purple_connection_set_state( session->con, PURPLE_CONNECTED );
 
+	/* save extra info if this is a HTTP connection */
+	if ( session->http ) {
+		/* save the http server to use for this session */
+		g_strlcpy( session->http_server, records[1]->fields[3]->data, sizeof( session->http_server ) );
+
+		/* save the session id */
+		session->http_sesid = atoi( records[0]->fields[0]->data );
+	}
+
 	/* display the current splash-screen */
 	if ( splash_popup_enabled( session ) )
 		splash_display( session );
@@ -1290,15 +1299,6 @@
 		g_free( statusmsg2 );
 	}
 
-	/* save extra info if this is a HTTP connection */
-	if ( session->http ) {
-		/* save the http server to use for this session */
-		g_strlcpy( session->http_server, records[1]->fields[3]->data, sizeof( session->http_server ) );
-
-		/* save the session id */
-		session->http_sesid = atoi( records[0]->fields[0]->data );
-	}
-
 	/* retrieve our MXit profile */
 	mxit_send_extprofile_request( session, NULL, ARRAY_SIZE( profilelist ), profilelist );
 }