Apparently messenger@microsoft.com is some sort of server-side buddy

Thu, 21 Aug 2008 05:23:47 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Thu, 21 Aug 2008 05:23:47 +0000
changeset 24142
b1d0d9f08a35
parent 24130
1d9a72d30e9e
child 24143
0c8b37e7b0c1
child 24380
af8f652c2701

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.

libpurple/protocols/msn/notification.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/msn/notification.c	Wed Aug 20 00:34:16 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Thu Aug 21 05:23:47 2008 +0000
@@ -613,13 +613,16 @@
 	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@microsoft.com"))
+			continue;
+
 		msn_add_contact_xml(session, adl_node, user->passport,
 			user->list_op & MSN_LIST_OP_MASK, user->networkid);
 

mercurial