aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/chat.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-03 22:20:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2006-06-03 22:20:43 +0200
commit9779c186bd6d396a6fde61cc215f2438d453ee97 (patch)
treef213d656883f0c9f602b9d78bfe3ee9143744bdf /protocols/oscar/chat.c
parenta15c097fa32028394264cf66ef4fd31f56315eb3 (diff)
parentfb62f81f947c74e274b05e32d2e88e3a4d7e2613 (diff)
[merge] Wilmer
Diffstat (limited to 'protocols/oscar/chat.c')
-rw-r--r--protocols/oscar/chat.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/protocols/oscar/chat.c b/protocols/oscar/chat.c
index 033c2577..df535c4f 100644
--- a/protocols/oscar/chat.c
+++ b/protocols/oscar/chat.c
@@ -158,7 +158,21 @@ int aim_chat_send_im(aim_session_t *sess, aim_conn_t *conn, guint16 flags, const
*/
if (flags & AIM_CHATFLAGS_AWAY)
aim_addtlvtochain_noval(&otl, 0x0007);
-
+
+ /* [WvG] This wasn't there originally, but we really should send
+ the right charset flags, as we also do with normal
+ messages. Hope this will work. :-) */
+ /*
+ if (flags & AIM_CHATFLAGS_UNICODE)
+ aimbs_put16(&fr->data, 0x0002);
+ else if (flags & AIM_CHATFLAGS_ISO_8859_1)
+ aimbs_put16(&fr->data, 0x0003);
+ else
+ aimbs_put16(&fr->data, 0x0000);
+
+ aimbs_put16(&fr->data, 0x0000);
+ */
+
/*
* SubTLV: Type 1: Message
*/