diff src/protocols/msn/switchboard.c @ 6622:a4622f1fb5a1

[gaim-migrate @ 7146] (10:10:23) Robot101: kills off OPT_CONN_* in favour of an enum, and deprecates all the IM_FLAGS_* except IM_FLAG_AWAY which is made into GAIM_IM_AUTO_RESP in a GaimImFlags enum. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 25 Aug 2003 14:12:28 +0000
parents 42fdf16f1dad
children 314111e7b601
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Mon Aug 25 02:49:42 2003 +0000
+++ b/src/protocols/msn/switchboard.c	Mon Aug 25 14:12:28 2003 +0000
@@ -293,7 +293,6 @@
 	MsnSwitchBoard *swboard = servconn->data;
 	char *body;
 	const char *value;
-	int flags = 0;
 
 	body = g_strdup(msn_message_get_body(msg));
 
@@ -301,10 +300,6 @@
 
 	if ((value = msn_message_get_attr(msg, "User-Agent")) != NULL) {
 		gaim_debug(GAIM_DEBUG_MISC, "msn", "value = '%s'\n", value);
-		if (!g_ascii_strncasecmp(value, "Gaim", 4)) {
-			gaim_debug(GAIM_DEBUG_INFO, "msn", "Setting GAIMUSER flag.\n");
-			flags |= IM_FLAG_GAIMUSER;
-		}
 	}
 
 	if ((value = msn_message_get_attr(msg, "X-MMS-IM-Format")) != NULL) {
@@ -322,7 +317,7 @@
 		serv_got_chat_in(gc, gaim_chat_get_id(GAIM_CHAT(swboard->chat)),
 						 servconn->msg_passport, 0, body, time(NULL));
 	else
-		serv_got_im(gc, servconn->msg_passport, body, flags, time(NULL), -1);
+		serv_got_im(gc, servconn->msg_passport, body, 0, time(NULL), -1);
 
 	g_free(body);