Mercurial > pidgin.yaz
comparison src/protocols/msn/notification.c @ 5509:f6ef1871cfcc
[gaim-migrate @ 5908]
This should fix the bug where an empty contact list causes gaim to not be
able to sign on to MSN.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 25 May 2003 09:43:02 +0000 |
parents | 2a57266df5f6 |
children | bf2a7a7b739d |
comparison
equal
deleted
inserted
replaced
5508:2a57266df5f6 | 5509:f6ef1871cfcc |
---|---|
642 int num_users; | 642 int num_users; |
643 const char *type; | 643 const char *type; |
644 const char *passport; | 644 const char *passport; |
645 const char *friend; | 645 const char *friend; |
646 | 646 |
647 type = params[1]; | |
647 user_num = atoi(params[3]); | 648 user_num = atoi(params[3]); |
648 num_users = atoi(params[4]); | 649 num_users = atoi(params[4]); |
649 | 650 |
650 if (user_num == 0 && num_users == 0) | 651 if (g_ascii_strcasecmp(type, "RL") && user_num == 0 && num_users == 0) |
651 return TRUE; /* There are no users on this list. */ | 652 return TRUE; /* There are no users on this list. */ |
652 | 653 |
653 type = params[1]; | |
654 passport = params[5]; | 654 passport = params[5]; |
655 friend = msn_url_decode(params[6]); | 655 friend = msn_url_decode(params[6]); |
656 | 656 |
657 if (session->syncing_lists && session->lists_synced) | 657 if (session->syncing_lists && session->lists_synced) |
658 return TRUE; | 658 return TRUE; |