From: mid Date: Wed, 29 Dec 1999 10:08:28 +0000 (+0000) Subject: Added stubs for those capability TLVs in userinfo. X-Git-Tag: rel_0_99_2~177 X-Git-Url: http://andersk.mit.edu/gitweb/libfaim.git/commitdiff_plain/0b4acf97ffe79995944d4041857260bbd5e16492 Added stubs for those capability TLVs in userinfo. --- diff --git a/CHANGES b/CHANGES index 20dc779..2f79562 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ No release numbers ------------------ + - Wed Dec 29 10:06:35 UTC 1999 + - Fixed small bug in IM parser + - Added stubs for the capability TLVs in userinfo. + - Wed Dec 29 09:14:45 UTC 1999 - Added a capability block to aim_bos_setprofile. Can now get chat invites again. - Extended ICBM parser to support channel 2 messages (chat invites) diff --git a/aim_info.c b/aim_info.c index 6f8b9cd..b0c9b74 100644 --- a/aim_info.c +++ b/aim_info.c @@ -152,6 +152,31 @@ int aim_extractuserinfo(u_char *buf, struct aim_userinfo_s *outinfo) case 0x0004: outinfo->idletime = aimutil_get16(&buf[i+4]); break; + + /* + * Type = 0x000d + * + * Capability information. Not real sure of + * actual decoding. See comment on aim_bos_setprofile() + * in aim_misc.c about the capability block, its the same. + * + * Ignore. + * + */ + case 0x000d: + break; + + /* + * Type = 0x000e + * + * Unknown. Always of zero length, and always only + * on AOL users. + * + * Ignore. + * + */ + case 0x000e: + break; /* * Type = 0x000f: Session Length. (AIM)