Mercurial > pidgin.yaz
changeset 12486:5b9ae793e2fb
[gaim-migrate @ 14798]
Stu is one smart young whipper snapper.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 14 Dec 2005 22:53:54 +0000 |
parents | 0480ba917a6e |
children | 799e95eed274 |
files | src/protocols/oscar/aim.h src/protocols/oscar/oscar.c |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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); } }