changeset 7582:3e0404393761

[gaim-migrate @ 8200] This should make Gaim recognize the video chat thingy. Chip, if you know who in your buddy list gave you that message, feel free to test it out... committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 21 Nov 2003 04:13:29 +0000
parents 48f31501c3c1
children 532635bc38c1
files src/protocols/oscar/aim.h src/protocols/oscar/locate.c src/protocols/oscar/oscar.c
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/aim.h	Thu Nov 20 23:15:14 2003 +0000
+++ b/src/protocols/oscar/aim.h	Fri Nov 21 04:13:29 2003 +0000
@@ -1037,7 +1037,8 @@
 #define AIM_CAPS_SECUREIM		0x00200000
 #define AIM_CAPS_SMS			0x00400000
 #define AIM_CAPS_GENERICUNKNOWN	0x00800000
-#define AIM_CAPS_LAST			0x01000000
+#define AIM_CAPS_VIDEO			0x01000000
+#define AIM_CAPS_LAST			0x02000000
 
 #define AIM_SENDMEMBLOCK_FLAG_ISREQUEST  0
 #define AIM_SENDMEMBLOCK_FLAG_ISHASH     1
--- a/src/protocols/oscar/locate.c	Thu Nov 20 23:15:14 2003 +0000
+++ b/src/protocols/oscar/locate.c	Fri Nov 21 04:13:29 2003 +0000
@@ -42,6 +42,10 @@
 	 {0x09, 0x46, 0x00, 0x01, 0x4c, 0x7f, 0x11, 0xd1, 
 	  0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
 
+	{AIM_CAPS_VIDEO,
+	 {0x09, 0x46, 0x01, 0x00, 0x4c, 0x7f, 0x11, 0xd1, 
+	  0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}},
+
 	/*
 	 * Not really sure about this one.  In an email from 
 	 * 26 Sep 2003, Matthew Sachs suggested that, "this 
--- a/src/protocols/oscar/oscar.c	Thu Nov 20 23:15:14 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Fri Nov 21 04:13:29 2003 +0000
@@ -3131,6 +3131,9 @@
 			case AIM_CAPS_SECUREIM:
 				tmp = _("Security Enabled");
 				break;
+			case AIM_CAPS_VIDEO:
+				tmp = _("Video Chat");
+				break;
 			default:
 				tmp = NULL;
 				break;