changeset 6668:7e8a70c531a7

[gaim-migrate @ 7193] Filter out the "upgrade MSN" message. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 01 Sep 2003 00:11:42 +0000
parents 7a0c324276ba
children 25f1f9efa510
files src/protocols/msn/switchboard.c
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Sun Aug 31 22:55:23 2003 +0000
+++ b/src/protocols/msn/switchboard.c	Mon Sep 01 00:11:42 2003 +0000
@@ -4,7 +4,7 @@
  * gaim
  *
  * Copyright (C) 2003, Christian Hammond <chipx86@gnupdate.org>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -297,6 +297,14 @@
 
 	body = g_strdup(msn_message_get_body(msg));
 
+	if (!strcmp(servconn->msg_passport, "messenger@microsoft.com") &&
+		strstr(body, "immediate security update"))
+	{
+		g_free(body);
+
+		return TRUE;
+	}
+
 	gaim_debug(GAIM_DEBUG_INFO, "msn", "Checking User-Agent...\n");
 
 	if ((value = msn_message_get_attr(msg, "User-Agent")) != NULL) {