changeset 23938:b9d4d8a77fef

disapproval of revision 'd50e4b01c210ebbcd8f8d5a001fa72450e021a97'
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 12 Oct 2008 22:00:38 +0000
parents 2d7a8d15f3a3
children 94fa764b47e8
files libpurple/protocols/msn/notification.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Wed Sep 17 00:29:56 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Sun Oct 12 22:00:38 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);