changeset 5358:91db34a45cbe

[gaim-migrate @ 5734] The Open button is back on e-mail notifications. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 12 May 2003 03:26:45 +0000
parents 2a1c92df7024
children d51a42056527
files src/protocols/msn/notification.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sun May 11 21:47:29 2003 +0000
+++ b/src/protocols/msn/notification.c	Mon May 12 03:26:45 2003 +0000
@@ -1046,6 +1046,11 @@
 		return TRUE;
 	}
 
+	if (session->passport_info.file == NULL) {
+		msn_servconn_send_command(servconn, "URL", "INBOX");
+		return TRUE;
+	}
+
 	table = msn_message_get_hashtable_from_body(msg);
 
 	unread = g_hash_table_lookup(table, "Inbox-Unread");
@@ -1072,6 +1077,11 @@
 		return TRUE;
 	}
 
+	if (session->passport_info.file == NULL) {
+		msn_servconn_send_command(servconn, "URL", "INBOX");
+		return TRUE;
+	}
+
 	table = msn_message_get_hashtable_from_body(msg);
 
 	from    = g_hash_table_lookup(table, "From");