Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 8255:4de49af535b3
[gaim-migrate @ 8978]
Patch from Stu Tomlinson:
- Adds error messages for 2 new error codes (from
http://www.hypothetic.org/docs/msn/reference/error_list.php)
- Changes "Internal Server Error" to "Service Temporarily Unavailable" (to
match what the official client reports)
- Fixes indentation for msn/error.c error codes
- Fixes a small bug when a user disallows mobile pages (Gaim was only
updating the buddy status when a user allowed mobile pages)
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 14 Feb 2004 20:45:28 +0000 |
parents | f347c8d25cf5 |
children | 06f57183e29f |
comparison
equal
deleted
inserted
replaced
8254:8a9a6eb3ded0 | 8255:4de49af535b3 |
---|---|
664 | 664 |
665 user = msn_users_find_with_passport(session->users, passport); | 665 user = msn_users_find_with_passport(session->users, passport); |
666 | 666 |
667 if (value != NULL) { | 667 if (value != NULL) { |
668 if (!strcmp(type, "MOB")) { | 668 if (!strcmp(type, "MOB")) { |
669 if (!strcmp(value, "Y")) { | 669 if (!strcmp(value, "Y") || !strcmp(value, "N")) { |
670 user->mobile = TRUE; | 670 user->mobile = (!strcmp(value, "Y") ? TRUE : FALSE); |
671 | 671 |
672 if ((b = gaim_find_buddy(gc->account, passport)) != NULL) { | 672 if ((b = gaim_find_buddy(gc->account, passport)) != NULL) { |
673 if (GAIM_BUDDY_IS_ONLINE(b)) { | 673 if (GAIM_BUDDY_IS_ONLINE(b)) { |
674 serv_got_update(gc, (char *)passport, | 674 serv_got_update(gc, (char *)passport, |
675 1, 0, 0, 0, b->uc); | 675 1, 0, 0, 0, b->uc); |