libpurple/protocols/msn/notification.c

changeset 24142
b1d0d9f08a35
parent 24100
df97a93113c3
child 24143
0c8b37e7b0c1
child 24380
af8f652c2701
--- 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