im.pidgin.pidgin: d36c1d52c48fe90a9321222eca0615dbf4d0ad77

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sun Feb 3 12:40:39 EST 2008


-----------------------------------------------------------------
Revision: d36c1d52c48fe90a9321222eca0615dbf4d0ad77
Ancestor: 83991ae88feb9e1b67de8050056deac49a4586ec
Author: nosnilmot at pidgin.im
Date: 2008-02-03T17:33:02
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d36c1d52c48fe90a9321222eca0615dbf4d0ad77

Modified files:
        libpurple/protocols/msnp9/session.c

ChangeLog: 

Fix the bug where mid-session notification server transfers end up with the
server thinking we're trying to be invisible, which then prevents sending
IMs and other things pesky users think should be possible with an IM client

-------------- next part --------------
============================================================
--- libpurple/protocols/msnp9/session.c	5b560c3e62423275d0119c679eee91fe15bd319e
+++ libpurple/protocols/msnp9/session.c	a9baf3c5fd8f14a419e50e988375cef3db20bd93
@@ -397,8 +397,13 @@ msn_session_finish_login(MsnSession *ses
 	PurpleStoredImage *img;
 	const char *passport;
 
-	if (session->logged_in)
+	if (session->logged_in) {
+		/* We are probably here because of a mid-session notification server XFR
+		 * We must send a CHG now, otherwise the servers default to invisible,
+		 * and prevent things happening, like sending IMs */
+		msn_change_status(session);
 		return;
+	}
 
 	account = session->account;
 	gc = purple_account_get_connection(account);


More information about the Commits mailing list