[icq-devel] User visibility



vadim winebrand amilw at bezeqint.net
Tue Sep 17 12:31:55 CEST 2002


> Thanx a lot few more questions:
>
>     What are the values of user visibility
>            01 - Allow all users to see you
>             02 - Block all users from seeing you
>             03 - ?
>             04 - Block only users in the invisible list from seeing you
>             05 - Allow only users in the buddy list to see you
>
>     what is visibility value 03?
>
>     where are many types of  entries in replyroaster snac(13,06)
>
> 0x0000 - a normal contact list entry
> 0x0001 - larger grouping header
> 0x0002 - a contact on the visible list.
> 0x0003 - a contact on the invisible list.
> 0x0004 - User visibility.
> 0x0009 - unknown
> 0x000E - a contact on the ignore list
> 0x0013 - this group's TLV contains the import time
>
> what is a type number 9? Are there any other types which i don't know.
>
> It Seems that snac(13,08) works fine without ADDstart snac(13,11) and
AddEnd
> snac(13,12) icq 2002a does not use this snacs at all Why do i need those
> snacs they are useless.
>
> snacs (9,5),(9,6),(9,7),(9,8),(3,4),(3,5) (i'm not sure maybe i did a
> mistake) they don't work at all they seem useless?
>
> ----- Original Message -----
> From: "Alexander Vaga" <icq2000cc at hobi.ru>
> To: "vadim winebrand" <icq-devel at blipp.com>
> Sent: Tuesday, September 17, 2002 9:05 AM
> Subject: Re: [icq-devel] User visibility
>
>
> > Hello vadim,
> >
> > Tuesday, September 17, 2002, 2:39:48 AM, you wrote:
> >
> > vw> I know that it is possible to get User visibility using snac(13,06)
> Reply
> > vw> Roaster,
> > vw> But  how to set  user visibility?
> >
> > As you know _ALL_ records in snack(13,6) has same format.
> > When you analized your snac(13,6) you may found the record like this:
> > 00 00 00 00 XX XX 00 04 00 05 00 CA 00 01 XX .
> > This is a Visibility setting.
> > Let`s show that chunk so:
> > 00 00                    - empty string
> > 00 00                    - GroupID
> > XX XX                    - Tag (unique)
> > 00 04 00 05              - TLV(4) {len=5}
> >            00 CA 00 01   - TLV(CA) {len=1}
> >                       XX - Value of Visibility
> >
> > To _UPDATE_ your Visibility Record you must use the snac(13,9).
> > // In case if Visibility setting is absent in snac(13,6)
> > // you must _ADD_ new Visibility Record to Roster using snac(13,8)
> >
> > Do it so if you will _UPDATE_ Visibility:
> > 00 13 00 09 00 00 00 E5 00 09 // snac(13,9)`s header
> > 00 00                         // empty string
> > 00 00                         // GroupID
> > XX XX                         // Tag (same as in snac(13,6))
> > 00 04 00 05                   // tlv(4)
> >          00 CA 00 01          // tlv(CA)
> >                   XX          // NEW VISIBILITY VALUE
> >
> > Or do it so if you will _ADD_ Visibility:
> > 00 13 00 08 00 00 00 34 00 08 // snac(13,8)`s header
> > 00 00                         // empty string
> > 00 00                         // GroupID
> > XX XX                         // Tag (generate it randomly)
> > 00 04 00 05                   // tlv(4)
> >          00 CA 00 01          // tlv(CA)
> >                   XX          // NEW VISIBILITY VALUE
> >
> > That`s all.
> >
> > --
> > Best regards,
> >  Alexander Vaga
> >  icq2000cc at hobi.ru
> >
> >
> > -------------------------------------------------
> > 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/
> >
>
> -------------------------------------------------
> 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