[icq-devel] Change status difference between ICQ and AIM



Mike Miller Mike.Miller at timera.com
Mon Sep 15 19:46:09 CEST 2003


Thanks for the quick reply.  Pardon my ignorance, but what is LNTS
encoding?

-----Original Message-----
From: Stefan Gehn [mailto:sgehn at gmx.net] 
Sent: Monday, September 15, 2003 12:21 PM
To: icq-devel at blipp.com
Subject: Re: [icq-devel] Change status difference between ICQ and AIM


On Montag September 15 2003 17:16, Mike Miller wrote:
> Since I did not get any response on my previous post, let me ask the 
> question another way.  What's the basic difference in changing a
user's
> status (away, etc) between ICQ and AIM?   Following the Oscar/ICQ doc,
I
> feel like I have implemented that change of status correctly, with one
> exception - I am coding this for AIM and not ICQ!   After looking at
> some other implementations, it appears that the AOL/AIM status flag is

> different.  Can someone enlighten me on this basic difference.

For AIM you have to use SNAC(0x0002, 0x0004) with the following data:
TLV(0x0003)  LNTS  encoding for away message, I default it to
'text/aolrtf; 
charset=\"us-ascii\"'
TLV(0x0004)  LNTS  away message in aboves encoding

For setting away you have to send both TLVs, for change from away to
online 
you only send an empty TLV(0x0004).

Bye, Stefan aka mETz
-- 
sgehn at gmx.net | ICQ#51123152 | Moege der Pinguin mit euch sein
-------------------------------------------------
icq-devel - The forum for ICQ protocol discussion
For unsubscribe and other mailing list info, see:
http://www.d.kth.se/~d95-mih/icq/icq-devel/




More information about the icq-devel mailing list