pidgin: 046452c2: Always send the MSN status code, even wh...

qulogic at qulogic at
Fri Sep 26 01:15:37 EDT 2008

Revision: 046452c275782ffd3218e3ae4863eaa8bf31a5f4
Ancestor: bf07db8e6300ffa5dc4613996800db83ad350afb
Author: qulogic at
Date: 2008-09-26T05:07:48
Branch: im.pidgin.pidgin

Modified files:


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.

-------------- next part --------------
--- libpurple/protocols/msn/session.c	43e65308d6827f3ebad797cf2e9552b4bf78f6fb
+++ libpurple/protocols/msn/session.c	3ba68efce39af1fb99420ae856551e25de8fda29
@@ -453,6 +453,8 @@ msn_session_finish_login(MsnSession *ses
 	PurpleConnection *gc;
 	PurpleStoredImage *img;
+	msn_change_status(session);
 	if (session->logged_in)
@@ -465,8 +467,6 @@ msn_session_finish_login(MsnSession *ses
 	session->logged_in = TRUE;
-	msn_change_status(session);
 	purple_connection_set_state(gc, PURPLE_CONNECTED);
 	/* Sync users */

More information about the Commits mailing list