libpurple/protocols/msn/notification.c

changeset 24444
88e35b3fbe41
parent 24405
426c92d923a3
parent 24381
88dab4cf9381
child 24445
4f53fbf6f709
--- a/libpurple/protocols/msn/notification.c	Thu Oct 02 21:11:08 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Sun Oct 12 22:00:56 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