changeset 22872:713cd3a2d1cd

Fix for opening Hotmail inbox more than ~15 minutes after login
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 08 May 2008 18:24:01 +0000
parents 396fd93907f1
children e8a66e79c49c
files libpurple/protocols/msn/notification.c libpurple/protocols/msnp9/notification.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Thu May 08 05:14:35 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Thu May 08 18:24:01 2008 +0000
@@ -1005,8 +1005,8 @@
 
 	passport = purple_normalize(account, purple_account_get_username(account));
 
-	if ((strstr(passport, "@hotmail.") != NULL) ||
-		(strstr(passport, "@msn.com") != NULL))
+	if ((strstr(passport, "@hotmail.") == NULL) &&
+		(strstr(passport, "@msn.com") == NULL))
 		return;
 
 	if (count++ < 26)
--- a/libpurple/protocols/msnp9/notification.c	Thu May 08 05:14:35 2008 +0000
+++ b/libpurple/protocols/msnp9/notification.c	Thu May 08 18:24:01 2008 +0000
@@ -606,8 +606,8 @@
 
 	passport = purple_normalize(account, purple_account_get_username(account));
 
-	if ((strstr(passport, "@hotmail.") != NULL) ||
-		(strstr(passport, "@msn.com") != NULL))
+	if ((strstr(passport, "@hotmail.") == NULL) &&
+		(strstr(passport, "@msn.com") == NULL))
 		return;
 
 	if (count++ < 26)