Mercurial > pidgin
diff libpurple/protocols/msn/notification.c @ 20459:46437bdf316b
In the initial ADL listing, send the commands in the correct sequence as required by the server: BLP, ADL and PRP. When the server acknowledges this initial ADL, send CHG with status information
author | Carlos Silva <typ0@pidgin.im> |
---|---|
date | Thu, 05 Jul 2007 06:35:37 +0000 |
parents | 69febfa6d307 |
children | 8f7ccadce62d |
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c Sat Jun 23 03:07:35 2007 +0000 +++ b/libpurple/protocols/msn/notification.c Thu Jul 05 06:35:37 2007 +0000 @@ -744,7 +744,16 @@ static void adl_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) { + static initial; + purple_debug_info("MaYuan","Process ADL\n"); + + if (!initial) + { + purple_debug_info("--[","Initial ADL received\n"); + msn_set_psm(cmdproc->session); + msn_session_finish_login(cmdproc->session); + } } static void