pidgin: 069da78b: Fix for opening Hotmail inbox more than ...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Thu May 8 14:25:47 EDT 2008


-----------------------------------------------------------------
Revision: 069da78bf18e99522021e8885b2c352d8b1ca183
Ancestor: 1361cf862479ed896042cad3e5e8c3c561ee8e21
Author: nosnilmot at pidgin.im
Date: 2008-05-08T18:24:01
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/069da78bf18e99522021e8885b2c352d8b1ca183

Modified files:
        libpurple/protocols/msn/notification.c
        libpurple/protocols/msnp9/notification.c

ChangeLog: 

Fix for opening Hotmail inbox more than ~15 minutes after login

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	ae639f781fd769a918d5c0836414432446853fe1
+++ libpurple/protocols/msn/notification.c	d4eed054e54347d90e3c9c571889ec5e0d60fa82
@@ -1005,8 +1005,8 @@ qng_cmd(MsnCmdProc *cmdproc, MsnCommand 
 
 	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)
============================================================
--- libpurple/protocols/msnp9/notification.c	c3dcbd019d45ecc26bdb68e5b8da748936ff9e98
+++ libpurple/protocols/msnp9/notification.c	a61c83994c7f52ffe76a16768977efbb389bf54d
@@ -606,8 +606,8 @@ qng_cmd(MsnCmdProc *cmdproc, MsnCommand 
 
 	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)


More information about the Commits mailing list