diff src/protocols/oscar/ssi.c @ 4071:2532f1192da3

[gaim-migrate @ 4283] So I made all them versions be the likes of winaim 5.1.3036. This includes changing the ssi family/module version from 1 to 3. This caused the SNAC flag 0x8000 to pop up in a few places, so I made a change to rxhandlers.c that should take care of this. This should allow you to add @mac.com buddies to your buddy list, as well as get rid of the PleaseUpgrade000 buddies. It should also reduce your risk of cancer by 5-10%. Hopefully this won't break anything. Everything seems to be ok to me. Baaaaah. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 13 Dec 2002 22:34:14 +0000
parents 43e396e94095
children 9f729d6d88a6
line wrap: on
line diff
--- a/src/protocols/oscar/ssi.c	Fri Dec 13 06:51:17 2002 +0000
+++ b/src/protocols/oscar/ssi.c	Fri Dec 13 22:34:14 2002 +0000
@@ -1224,14 +1224,6 @@
 	fu16_t revision;
 	fu32_t timestamp;
 
-	/* When you set the version for the SSI family to 2-4, the beginning of this changes.
-	 * Instead of the version and then the revision, there is "0x0006" and then a type 
-	 * 0x0001 TLV containing the 2 byte SSI family version that you sent earlier.  Also, 
-	 * the SNAC flags go from 0x0000 to 0x8000.  I guess the 0x0006 is the length of the 
-	 * TLV(s) that follow.  The rights SNAC does the same thing, with the differing flag 
-	 * and everything.
-	 */
-
 	fmtver = aimbs_get8(bs); /* Version of ssi data.  Should be 0x00 */
 	revision = aimbs_get16(bs); /* # of times ssi data has been modified */
 	if (revision != 0)
@@ -1430,9 +1422,9 @@
 {
 
 	mod->family = AIM_CB_FAM_SSI;
-	mod->version = 0x0001;
+	mod->version = 0x0003;
 	mod->toolid = 0x0110;
-	mod->toolversion = 0x047b;
+	mod->toolversion = 0x0629;
 	mod->flags = 0;
 	strncpy(mod->name, "ssi", sizeof(mod->name));
 	mod->snachandler = snachandler;