pidgin: a9383bb2: Just because a user went offline, doesn'...

qulogic at pidgin.im qulogic at pidgin.im
Mon Apr 19 20:10:57 EDT 2010


-----------------------------------------------------------------
Revision: a9383bb27d9c9dc76837b30e02e50fbc03686fa5
Ancestor: b14e723c1fca432c8aab3813e9f12c48b9f3b0b7
Author: qulogic at pidgin.im
Date: 2010-04-19T23:55:03
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a9383bb27d9c9dc76837b30e02e50fbc03686fa5

Modified files:
        libpurple/protocols/msn/notification.c

ChangeLog: 

Just because a user went offline, doesn't mean we should close the slplink
with them. Newer MSN allows holding a conversation while offline.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	e8cd67f5cd6e986330e18d9ccd4359494f3fe1f7
+++ libpurple/protocols/msn/notification.c	90baf87c28e4227f9d0d4d290b028939458df20b
@@ -983,19 +983,12 @@ fln_cmd(MsnCmdProc *cmdproc, MsnCommand 
 static void
 fln_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
 {
-	MsnSlpLink *slplink;
 	MsnUser *user;
 
 	/* Tell libpurple that the user has signed off */
 	user = msn_userlist_find_user(cmdproc->session->userlist, cmd->params[0]);
 	msn_user_set_state(user, NULL);
 	msn_user_update(user);
-
-	/* If we have an open MsnSlpLink with the user then close it */
-	slplink = msn_session_find_slplink(cmdproc->session, cmd->params[0]);
-	if (slplink != NULL)
-		msn_slplink_destroy(slplink);
-
 }
 
 static void


More information about the Commits mailing list