comparison libpurple/protocols/msn/msn.c @ 17187:0c7d4f561b04

A couple of tweaks to open Hotmail inbox
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 20 May 2007 12:56:40 +0000
parents 3aee35e0ecd8
children d92776c252b8
comparison
equal deleted inserted replaced
17186:b27e535cce50 17187:0c7d4f561b04
340 gc = (PurpleConnection *) action->context; 340 gc = (PurpleConnection *) action->context;
341 session = gc->proto_data; 341 session = gc->proto_data;
342 342
343 if (session->passport_info.file == NULL) 343 if (session->passport_info.file == NULL)
344 { 344 {
345 MsnCmdProc *cmdproc = session->notification->cmdproc;
345 purple_notify_error(gc, NULL, 346 purple_notify_error(gc, NULL,
346 _("This Hotmail account may not be active."), NULL); 347 _("This Hotmail account may not be active."), NULL);
348 msn_cmdproc_send(cmdproc, "URL", "%s", "INBOX");
347 return; 349 return;
348 } 350 }
349 351
350 purple_notify_uri(gc, session->passport_info.file); 352 purple_notify_uri(gc, session->passport_info.file);
351 } 353 }