changeset 17118:3aee35e0ecd8

Fix MSN "Open Hotmail Inbox" for non-hotmail.com accounts (eg. hotmail.co.uk) Also a tweak from gmiedema in ticket 934 to the html we use to open the inbox to possibly make opening Hotmail work better for IE users on XP SP2. Fixes #1047 References #934
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 17 May 2007 13:45:18 +0000
parents 7cdc1d7fad55
children ec6a029c865d d3a7e037f3e9
files libpurple/protocols/msn/msn.c libpurple/protocols/msn/notification.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c	Wed May 16 04:03:58 2007 +0000
+++ b/libpurple/protocols/msn/msn.c	Thu May 17 13:45:18 2007 +0000
@@ -619,7 +619,7 @@
 	account = purple_connection_get_account(gc);
 	user = msn_normalize(account, purple_account_get_username(account));
 
-	if (strstr(user, "@hotmail.com") != NULL)
+	if (strstr(user, "@hotmail.") != NULL)
 	{
 		m = g_list_append(m, NULL);
 		act = purple_plugin_action_new(_("Open Hotmail Inbox"),
--- a/libpurple/protocols/msn/notification.c	Wed May 16 04:03:58 2007 +0000
+++ b/libpurple/protocols/msn/notification.c	Thu May 17 13:45:18 2007 +0000
@@ -982,7 +982,8 @@
 	}
 	else
 	{
-		fputs("<html>\n"
+		fputs("<!-- saved from url=(0013)about:internet -->\n"
+			  "<html>\n"
 			  "<head>\n"
 			  "<noscript>\n"
 			  "<meta http-equiv=\"Refresh\" content=\"0; "