Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
5405:e5d031116078 | 5406:9acf4832c0dc |
---|---|
579 | 579 |
580 type = params[1]; | 580 type = params[1]; |
581 passport = params[5]; | 581 passport = params[5]; |
582 friend = msn_url_decode(params[6]); | 582 friend = msn_url_decode(params[6]); |
583 | 583 |
584 if (session->lists_synced) | |
585 return TRUE; | |
586 | |
584 if (!g_ascii_strcasecmp(type, "FL") && user_num != 0) { | 587 if (!g_ascii_strcasecmp(type, "FL") && user_num != 0) { |
585 /* These are users on our contact list. */ | 588 /* These are users on our contact list. */ |
586 MsnUser *user; | 589 MsnUser *user; |
587 | 590 |
588 user = msn_user_new(session, passport, friend); | 591 user = msn_user_new(session, passport, friend); |
714 b->proto_data = user; | 717 b->proto_data = user; |
715 | 718 |
716 serv_got_alias(gc, (char *)msn_user_get_passport(user), | 719 serv_got_alias(gc, (char *)msn_user_get_passport(user), |
717 (char *)msn_user_get_name(user)); | 720 (char *)msn_user_get_name(user)); |
718 } | 721 } |
722 | |
723 session->lists_synced = TRUE; | |
719 } | 724 } |
720 | 725 |
721 return TRUE; | 726 return TRUE; |
722 } | 727 } |
723 | 728 |