changeset 24172:55c7c41ce84c

merge of '77f42c8f25c38b4f966158a64ab3be36f00e0aa8' and 'e8631a127deaf18b86db54656bab3e03cdf6e083'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 13 Oct 2008 18:54:37 +0000
parents e93ca60b97dc (diff) bfe33e14f4b2 (current diff)
children 499739e4c5d5
files
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Wed Oct 08 15:07:07 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Mon Oct 13 18:54:37 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 (user->passport && !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);