Mercurial > pidgin
diff libpurple/protocols/msn/msn.c @ 17159:d92776c252b8
Support for @msn.com accounts when opening Inbox, and unconditioanlly request
Inbox URL (and associated passport authentication details) on login.
Fixes #1142.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 20 May 2007 15:07:49 +0000 |
parents | 0c7d4f561b04 |
children | c2ecc135867d |
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c Sun May 20 14:57:09 2007 +0000 +++ b/libpurple/protocols/msn/msn.c Sun May 20 15:07:49 2007 +0000 @@ -345,7 +345,6 @@ MsnCmdProc *cmdproc = session->notification->cmdproc; purple_notify_error(gc, NULL, _("This Hotmail account may not be active."), NULL); - msn_cmdproc_send(cmdproc, "URL", "%s", "INBOX"); return; } @@ -621,7 +620,8 @@ account = purple_connection_get_account(gc); user = msn_normalize(account, purple_account_get_username(account)); - if (strstr(user, "@hotmail.") != NULL) + if ((strstr(user, "@hotmail.") != NULL) || + (strstr(user, "@msn.com") != NULL)) { m = g_list_append(m, NULL); act = purple_plugin_action_new(_("Open Hotmail Inbox"),