comparison libpurple/protocols/msn/notification.c @ 23862:2457162f6750

Apparently messenger@microsoft.com is some sort of server-side buddy that always exists in your AB Block list, but you shouldn't try to add it to your Contact List, so now we won't. Fixes #6440.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 21 Aug 2008 05:23:47 +0000
parents e7cce5e911d8
children 54432ea0a5ab 2d7a8d15f3a3
comparison
equal deleted inserted replaced
23861:93a9cef58d05 23862:2457162f6750
611 adl_node = xmlnode_new("ml"); 611 adl_node = xmlnode_new("ml");
612 adl_node->child = NULL; 612 adl_node->child = NULL;
613 xmlnode_set_attrib(adl_node, "l", "1"); 613 xmlnode_set_attrib(adl_node, "l", "1");
614 614
615 /*get the userlist*/ 615 /*get the userlist*/
616 for (l = session->userlist->users; l != NULL; l = l->next){ 616 for (l = session->userlist->users; l != NULL; l = l->next) {
617 user = l->data; 617 user = l->data;
618 618
619 /* skip RL & PL during initial dump */ 619 /* skip RL & PL during initial dump */
620 if (!(user->list_op & MSN_LIST_OP_MASK)) 620 if (!(user->list_op & MSN_LIST_OP_MASK))
621 continue;
622
623 if (!strcmp(user->passport, "messenger@microsoft.com"))
621 continue; 624 continue;
622 625
623 msn_add_contact_xml(session, adl_node, user->passport, 626 msn_add_contact_xml(session, adl_node, user->passport,
624 user->list_op & MSN_LIST_OP_MASK, user->networkid); 627 user->list_op & MSN_LIST_OP_MASK, user->networkid);
625 628