diff src/protocols/msn/switchboard.c @ 6845:5de4d9a4e0e2

[gaim-migrate @ 7390] Removed the old buddy icon code from MSN. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 15 Sep 2003 02:23:58 +0000
parents bd433a45a463
children ab80de7a74d1
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c	Mon Sep 15 01:55:48 2003 +0000
+++ b/src/protocols/msn/switchboard.c	Mon Sep 15 02:23:58 2003 +0000
@@ -36,9 +36,6 @@
 {
 	MsnMessage *msg;
 
-	if (swboard->buddy_icon_xfer != NULL)
-		return TRUE;
-
 	msg = msn_message_new();
 	msn_message_set_content_type(msg, "text/x-clientcaps");
 	msn_message_set_charset(msg, NULL);
@@ -382,6 +379,7 @@
 static gboolean
 clientcaps_msg(MsnServConn *servconn, MsnMessage *msg)
 {
+#if 0
 	MsnSession *session = servconn->session;
 	MsnSwitchBoard *swboard = servconn->data;
 	MsnUser *user;
@@ -391,12 +389,7 @@
 	user = msn_user_new(session, servconn->msg_passport, NULL);
 
 	clientcaps = msn_message_get_hashtable_from_body(msg);
-
-	if (swboard->chat == NULL && session->protocol_ver < 8)
-	{
-		if ((value = g_hash_table_lookup(clientcaps, "Buddy-Icons")) != NULL)
-			msn_buddy_icon_invite(swboard);
-	}
+#endif
 
 	return TRUE;
 }
@@ -493,8 +486,6 @@
 									  clientcaps_msg);
 		msn_servconn_register_msg_type(servconn, "text/x-clientinfo",
 									  clientcaps_msg);
-		msn_servconn_register_msg_type(servconn, "application/x-buddyicon",
-									   msn_buddy_icon_msg);
 		msn_servconn_register_msg_type(servconn, "application/x-msnmsgrp2p",
 									   msn_p2p_msg);