# HG changeset patch # User Mark Doliner # Date 1134600834 0 # Node ID 5b9ae793e2fb40d35add3618992ff29004dd5d22 # Parent 0480ba917a6e4975d61646e319e1709a3d3b777d [gaim-migrate @ 14798] Stu is one smart young whipper snapper. committer: Tailor Script diff -r 0480ba917a6e -r 5b9ae793e2fb src/protocols/oscar/aim.h --- a/src/protocols/oscar/aim.h Wed Dec 14 22:53:17 2005 +0000 +++ b/src/protocols/oscar/aim.h Wed Dec 14 22:53:54 2005 +0000 @@ -1266,6 +1266,10 @@ #define AIM_SSI_ACK_INVALIDNAME 0x000d #define AIM_SSI_ACK_AUTHREQUIRED 0x000e +/* These flags are set in the 0x00c9 TLV of SSI teyp 0x0005 */ +#define AIM_SSI_PRESENCE_FLAG_SHOWIDLE 0x00000400 +#define AIM_SSI_PRESENCE_FLAG_NORECENTBUDDIES 0x00020000 + struct aim_ssi_item { char *name; fu16_t gid; diff -r 0480ba917a6e -r 5b9ae793e2fb src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Wed Dec 14 22:53:17 2005 +0000 +++ b/src/protocols/oscar/oscar.c Wed Dec 14 22:53:54 2005 +0000 @@ -8396,14 +8396,10 @@ presence = aim_ssi_getpresence(sess->ssi.local); if (value) { - /* Based on the packet capture I thought it was the first one */ - /* Stu thinks it's the second one. */ - /* presence |= 0x00400000; */ - presence &= ~0x00020000; + presence &= ~AIM_SSI_PRESENCE_FLAG_NORECENTBUDDIES; aim_ssi_setpresence(sess, presence); } else { - /* presence &= ~0x00400000; */ - presence |= 0x00020000; + presence |= AIM_SSI_PRESENCE_FLAG_NORECENTBUDDIES; aim_ssi_setpresence(sess, presence); } }