Mercurial > pidgin.yaz
changeset 22258:fbd8297fe387
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
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 03 Feb 2008 17:33:02 +0000 |
parents | 8233bbcf3e86 |
children | 6e5d37105189 |
files | libpurple/protocols/msnp9/session.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msnp9/session.c Sun Feb 03 11:39:59 2008 +0000 +++ b/libpurple/protocols/msnp9/session.c Sun Feb 03 17:33:02 2008 +0000 @@ -397,8 +397,13 @@ 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);