diff src/protocols/msn/notification.c @ 5406:9acf4832c0dc

[gaim-migrate @ 5782] This should prevent the possibility of duplicate buddies when MSN transfers us to a new notification server (rare). committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 17 May 2003 01:41:52 +0000
parents 150cf1615098
children ad445074d239
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sat May 17 01:41:22 2003 +0000
+++ b/src/protocols/msn/notification.c	Sat May 17 01:41:52 2003 +0000
@@ -581,6 +581,9 @@
 	passport  = params[5];
 	friend    = msn_url_decode(params[6]);
 
+	if (session->lists_synced)
+		return TRUE;
+
 	if (!g_ascii_strcasecmp(type, "FL") && user_num != 0) {
 		/* These are users on our contact list. */
 		MsnUser *user;
@@ -716,6 +719,8 @@
 			serv_got_alias(gc, (char *)msn_user_get_passport(user),
 						   (char *)msn_user_get_name(user));
 		}
+
+		session->lists_synced = TRUE;
 	}
 
 	return TRUE;