pidgin: c3270f15: Apparently messenger at microsoft.com is so...

qulogic at pidgin.im qulogic at pidgin.im
Thu Aug 21 02:50:56 EDT 2008


-----------------------------------------------------------------
Revision: c3270f154f1777243d7c71b4e7eaa86bb417d93a
Ancestor: 70e8a5f4db432a4eead3f39b031731a40e18314d
Author: qulogic at pidgin.im
Date: 2008-08-21T05:23:47
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c3270f154f1777243d7c71b4e7eaa86bb417d93a

Modified files:
        libpurple/protocols/msn/notification.c

ChangeLog: 

Apparently messenger at 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.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	3d0b8254072573e43e8c0f0aa9eaa2513b557782
+++ libpurple/protocols/msn/notification.c	9b40a962bb89ad9d54a28bb9c2fef0e818cc9620
@@ -613,13 +613,16 @@ msn_notification_dump_contact(MsnSession
 	xmlnode_set_attrib(adl_node, "l", "1");
 
 	/*get the userlist*/
-	for (l = session->userlist->users; l != NULL; l = l->next){
+	for (l = session->userlist->users; l != NULL; l = l->next) {
 		user = l->data;
 
 		/* skip RL & PL during initial dump */
 		if (!(user->list_op & MSN_LIST_OP_MASK))
 			continue;
 
+		if (!strcmp(user->passport, "messenger at microsoft.com"))
+			continue;
+
 		msn_add_contact_xml(session, adl_node, user->passport,
 			user->list_op & MSN_LIST_OP_MASK, user->networkid);
 


More information about the Commits mailing list