# HG changeset patch # User Stu Tomlinson # Date 1179665800 0 # Node ID 0c7d4f561b04e2e0f6fedf88ad73e6cdf6077262 # Parent b27e535cce507268b67758702536c56ce0716c7e A couple of tweaks to open Hotmail inbox diff -r b27e535cce50 -r 0c7d4f561b04 libpurple/protocols/msn/msn.c --- a/libpurple/protocols/msn/msn.c Sun May 20 08:41:53 2007 +0000 +++ b/libpurple/protocols/msn/msn.c Sun May 20 12:56:40 2007 +0000 @@ -342,8 +342,10 @@ if (session->passport_info.file == NULL) { + 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; } diff -r b27e535cce50 -r 0c7d4f561b04 libpurple/protocols/msn/notification.c --- a/libpurple/protocols/msn/notification.c Sun May 20 08:41:53 2007 +0000 +++ b/libpurple/protocols/msn/notification.c Sun May 20 12:56:40 2007 +0000 @@ -592,6 +592,10 @@ qng_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) { static int count = 0; + MsnSession *session = cmdproc->session; + + if (session->passport_info.file == NULL) + return; if (count++ < 26) return;