diff src/protocols/msn/switchboard.h @ 5351:2aa7e4237142

[gaim-migrate @ 5727] Buddy icon support! The MSN protocol does not support this, but it does allow for different content-types, which no client (except a couple broken ones I can name) will see. So, I managed to extend the protocol a bit to do buddy icons. It should work like AIM. Setup your icon in your account editor, and message somebody. If they change their icon, however, you will have to close the conversation window, re-open it, and send another message. That's just how it has to work for now, I'm afraid. Oh, and another thing. MSNP7 (P6 as well? Not sure) times out inactive conversations after 5 minutes. Right now, you're seeing "User has closed the conversation window" messages, but they're really not. So, we now print out a message saying it timed out. Ugly, yes, but unless we have both messages, there's confusion. Oh well! Kick the hay! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 10 May 2003 23:55:18 +0000
parents e2e53316a21d
children 0a0116686d51
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.h	Sat May 10 23:10:54 2003 +0000
+++ b/src/protocols/msn/switchboard.h	Sat May 10 23:55:18 2003 +0000
@@ -27,6 +27,7 @@
 #include "servconn.h"
 #include "msg.h"
 #include "user.h"
+#include "buddyicon.h"
 
 struct _MsnSwitchBoard
 {
@@ -49,6 +50,10 @@
 
 	int chat_id;
 	int trId;
+
+	gboolean hidden;
+
+	MsnBuddyIconXfer *buddy_icon_xfer;
 };
 
 /**