Mercurial > pidgin.yaz
changeset 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 | e5d031116078 |
children | a93a1a443691 |
files | src/protocols/msn/notification.c src/protocols/msn/session.h |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
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;
--- a/src/protocols/msn/session.h Sat May 17 01:41:22 2003 +0000 +++ b/src/protocols/msn/session.h Sat May 17 01:41:52 2003 +0000 @@ -71,6 +71,8 @@ /* You have no idea how much I hate all that is below. */ GaimPlugin *prpl; + gboolean lists_synced; + /* For moving buddies from one group to another. Ugh. */ gboolean moving_buddy; char *dest_group_name;