Always send the MSN status code, even when we think we're already logged

Fri, 26 Sep 2008 05:07:48 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Fri, 26 Sep 2008 05:07:48 +0000
changeset 24400
cbf0315ad6d3
parent 24395
8cab8ad0cba3
child 24401
c588a8979713
child 24403
3c5f5cf7f330

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.

libpurple/protocols/msn/session.c file | annotate | diff | comparison | revisions
--- 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 */

mercurial