diff libpurple/protocols/msnp9/notification.c @ 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 6e5d37105189
children f05da3bc20d9
line wrap: on
line diff
--- 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)