diff 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
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sat Feb 14 15:11:17 2004 +0000
+++ b/src/protocols/msn/notification.c	Sat Feb 14 20:45:28 2004 +0000
@@ -666,8 +666,8 @@
 
 	if (value != NULL) {
 		if (!strcmp(type, "MOB")) {
-			if (!strcmp(value, "Y")) {
-				user->mobile = TRUE;
+			if (!strcmp(value, "Y") || !strcmp(value, "N")) {
+				user->mobile = (!strcmp(value, "Y") ? TRUE : FALSE);
 
 				if ((b = gaim_find_buddy(gc->account, passport)) != NULL) {
 					if (GAIM_BUDDY_IS_ONLINE(b)) {