diff src/protocols/msn/notification.c @ 11321:95fa774d216d

[gaim-migrate @ 13525] Kill off the conversation closed notices Fix for setting the ACK id on slpmsg ACKs which might improve things for other clients (see bug #1222320) Clean up some debugging stuff Add support for sending and receiving Nudges (Based on patch #1169352) Add an account action to go direct to a Hotmail Inbox committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 21 Aug 2005 17:14:22 +0000
parents 8dca96cbcd64
children 1452a3a9f07a
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Sun Aug 21 17:01:43 2005 +0000
+++ b/src/protocols/msn/notification.c	Sun Aug 21 17:14:22 2005 +0000
@@ -367,7 +367,9 @@
 	msg = msn_message_new_from_cmd(cmdproc->session, cmd);
 
 	msn_message_parse_payload(msg, payload, len);
-	/* msn_message_show_readable(msg, "Notification", TRUE); */
+#ifdef MSN_DEBUG_NS
+	msn_message_show_readable(msg, "Notification", TRUE);
+#endif
 
 	msn_cmdproc_process_msg(cmdproc, msg);
 
@@ -1177,9 +1179,6 @@
 		/* This isn't an official message. */
 		return;
 
-	if (!gaim_account_get_check_mail(session->account))
-		return;
-
 	if (session->passport_info.file == NULL)
 	{
 		MsnTransaction *trans;
@@ -1191,6 +1190,9 @@
 		return;
 	}
 
+	if (!gaim_account_get_check_mail(session->account))
+		return;
+
 	table = msn_message_get_hashtable_from_body(msg);
 
 	unread = g_hash_table_lookup(table, "Inbox-Unread");
@@ -1230,9 +1232,6 @@
 		/* This isn't an official message. */
 		return;
 
-	if (!gaim_account_get_check_mail(session->account))
-		return;
-
 	if (session->passport_info.file == NULL)
 	{
 		MsnTransaction *trans;
@@ -1244,6 +1243,9 @@
 		return;
 	}
 
+	if (!gaim_account_get_check_mail(session->account))
+		return;
+
 	table = msn_message_get_hashtable_from_body(msg);
 
 	from = subject = NULL;