# HG changeset patch # User Christian Hammond # Date 1062375102 0 # Node ID 7e8a70c531a78ac54a65ba7d2ccd23a1718403af # Parent 7a0c324276baf16029ccb7c47fe11dc15f96c8ae [gaim-migrate @ 7193] Filter out the "upgrade MSN" message. committer: Tailor Script diff -r 7a0c324276ba -r 7e8a70c531a7 src/protocols/msn/switchboard.c --- 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 - * + * * 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) {