Mercurial > pidgin.yaz
changeset 30173:4ebecacf2fbb
Just because a user went offline, doesn't mean we should close the slplink
with them. Newer MSN allows holding a conversation while offline.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 19 Apr 2010 23:55:03 +0000 |
parents | 1981a7798b17 |
children | b0bc67f42027 |
files | libpurple/protocols/msn/notification.c |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Mon Apr 19 20:45:31 2010 +0000 +++ b/libpurple/protocols/msn/notification.c Mon Apr 19 23:55:03 2010 +0000 @@ -983,19 +983,12 @@ 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