Sun, 03 Feb 2008 17:33:02 +0000
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
| libpurple/protocols/msnp9/session.c | file | annotate | diff | comparison | revisions |
--- 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);