comparison 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
comparison
equal deleted inserted replaced
5350:a6146cbae03b 5351:2aa7e4237142
25 typedef struct _MsnSwitchBoard MsnSwitchBoard; 25 typedef struct _MsnSwitchBoard MsnSwitchBoard;
26 26
27 #include "servconn.h" 27 #include "servconn.h"
28 #include "msg.h" 28 #include "msg.h"
29 #include "user.h" 29 #include "user.h"
30 #include "buddyicon.h"
30 31
31 struct _MsnSwitchBoard 32 struct _MsnSwitchBoard
32 { 33 {
33 MsnServConn *servconn; 34 MsnServConn *servconn;
34 MsnUser *user; 35 MsnUser *user;
47 gboolean msg; 48 gboolean msg;
48 int msglen; 49 int msglen;
49 50
50 int chat_id; 51 int chat_id;
51 int trId; 52 int trId;
53
54 gboolean hidden;
55
56 MsnBuddyIconXfer *buddy_icon_xfer;
52 }; 57 };
53 58
54 /** 59 /**
55 * Creates a new switchboard. 60 * Creates a new switchboard.
56 * 61 *