changeset 4811:22a7602ebe25

[gaim-migrate @ 5131] I'd like to point out that I beat Windows ICQ on this one, as far as I know. We really need to release 0.60. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 17 Mar 2003 07:28:37 +0000
parents 0abbbeec0ee8
children 3b0b7c8470ec
files src/protocols/oscar/aim.h src/protocols/oscar/info.c src/protocols/oscar/oscar.c
diffstat 3 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/aim.h	Mon Mar 17 07:21:13 2003 +0000
+++ b/src/protocols/oscar/aim.h	Mon Mar 17 07:28:37 2003 +0000
@@ -1032,7 +1032,8 @@
 #define AIM_CAPS_ICQUNKNOWN	0x00008000
 #define AIM_CAPS_TRILLIANCRYPT	0x00010000
 #define AIM_CAPS_ICQUTF8	0x00020000
-#define AIM_CAPS_LAST		0x00040000
+#define AIM_CAPS_INTEROPERATE	0x00040000
+#define AIM_CAPS_LAST		0x00080000
 
 faim_export int aim_0002_000b(aim_session_t *sess, aim_conn_t *conn, const char *sn);
 
--- a/src/protocols/oscar/info.c	Mon Mar 17 07:21:13 2003 +0000
+++ b/src/protocols/oscar/info.c	Mon Mar 17 07:28:37 2003 +0000
@@ -303,6 +303,15 @@
 	 {0x09, 0x46, 0x13, 0x4b, 0x4c, 0x7f, 0x11, 0xd1,
 	  0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
 
+	/*
+	 * Setting this lets AIM users receive messages from 
+	 * ICQ users, and ICQ users receive messages from AIM 
+	 * users.
+	 */
+	{AIM_CAPS_INTEROPERATE,
+	 {0x09, 0x46, 0x13, 0x4d, 0x4c, 0x7f, 0x11, 0xd1,
+	  0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
+
 	{AIM_CAPS_ICQUTF8,
 	 {0x09, 0x46, 0x13, 0x4e, 0x4c, 0x7f, 0x11, 0xd1,
 	  0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
--- a/src/protocols/oscar/oscar.c	Mon Mar 17 07:21:13 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Mar 17 07:28:37 2003 +0000
@@ -74,8 +74,8 @@
 G_MODULE_IMPORT GSList *connections;
 G_MODULE_IMPORT int report_idle;
 
-static int caps_aim = AIM_CAPS_CHAT | AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE;
-static int caps_icq = AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_ICQUTF8;
+static int caps_aim = AIM_CAPS_CHAT | AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_INTEROPERATE;
+static int caps_icq = AIM_CAPS_BUDDYICON | AIM_CAPS_IMIMAGE | AIM_CAPS_SENDFILE | AIM_CAPS_ICQUTF8 | AIM_CAPS_INTEROPERATE;
 
 static fu8_t features_aim[] = {0x01, 0x01, 0x01, 0x02};
 static fu8_t features_icq[] = {0x01, 0x06};