changeset 24189:ecbab5157345

Always send the MSN status code, even when we think we're already logged in. This is important when we've been transferred to a new server with XFR. Otherwise, the server will think we're offline (and not able to message anyone). Fixes #6196, again.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 26 Sep 2008 05:07:48 +0000
parents d1cfa8c11902
children c3dbdb98a119 dfee6d887c76
files libpurple/protocols/msn/session.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/session.c	Thu Sep 25 07:19:38 2008 +0000
+++ b/libpurple/protocols/msn/session.c	Fri Sep 26 05:07:48 2008 +0000
@@ -453,6 +453,8 @@
 	PurpleConnection *gc;
 	PurpleStoredImage *img;
 
+	msn_change_status(session);
+
 	if (session->logged_in)
 		return;
 
@@ -465,8 +467,6 @@
 
 	session->logged_in = TRUE;
 
-	msn_change_status(session);
-
 	purple_connection_set_state(gc, PURPLE_CONNECTED);
 
 	/* Sync users */