comparison 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
comparison
equal deleted inserted replaced
20458:faad7d69de10 20459:46437bdf316b
742 } 742 }
743 743
744 static void 744 static void
745 adl_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd) 745 adl_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
746 { 746 {
747 static initial;
748
747 purple_debug_info("MaYuan","Process ADL\n"); 749 purple_debug_info("MaYuan","Process ADL\n");
750
751 if (!initial)
752 {
753 purple_debug_info("--[","Initial ADL received\n");
754 msn_set_psm(cmdproc->session);
755 msn_session_finish_login(cmdproc->session);
756 }
748 } 757 }
749 758
750 static void 759 static void
751 adl_error(MsnCmdProc *cmdproc, MsnTransaction *trans, int error) 760 adl_error(MsnCmdProc *cmdproc, MsnTransaction *trans, int error)
752 { 761 {