changeset 27900:a4a6dd5f5a1a

propagate from branch 'im.pidgin.pidgin' (head 77f42c8f25c38b4f966158a64ab3be36f00e0aa8) to branch 'im.pidgin.pidgin.yaz' (head 66f2c228221718675059053b90e0275caac16e12)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 14 Oct 2008 15:14:39 +0000
parents 945a04f3019e (current diff) e93ca60b97dc (diff)
children a4ae20007032
files
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Fri Oct 10 04:30:42 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Tue Oct 14 15:14:39 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);