[Licq-devel] Re: Patch with support of server stored user pictures

Sergey Kononenko <[email protected]>
Newsgroups gmane.network.licq.devel
Message-ID <[email protected]>
> - unsupported types that i've seen are: 0x02, 0x08.
Icon types do not described in http://iserverd.khstu.ru/oscar/
but most complete list of them I have found in sources of miranda:
// 0000: AIM avatar ?
// 0001: AIM/ICQ avatar ID/hash (len 5 or 16 bytes)
// 0002: iChat online message
// 0008: ICQ Flash avatar hash (16 bytes)
// 0009: iTunes music store link
// 000C: ICQ contact photo (16 bytes)
// 000D: ?
// 000E: Custom Status (ICQ6)

I had thought that without big changes we can handle only 01 and 0C,
which are simple pictures (jpg, gif, png). But I don't test 0C case
because can't find any contact with ssbi type 0C. Even in test account
I have created with Icq6 ssbi has type 01.

Type 08 as can understand from sources of miranda is swf file or xml
with link to swf. I don't know if it is possible to show
macromedia/adobe flash in Qt.

> I have received the correct icon somehow...
Yes, it is possible, because for one contact you can receive several
SNAC(03,0B), which can hold different descriptions of ssbi.
I think this is true for not picture ssbi types, such
02 or 09.

> This patch revealed another problem though,
> one can't see his own ssbi unless he sets it manually. ;-)
Why? It is possible to send ssbi request for your own uin,
but I haven't add this functionality yet as i wrote in first message.

> To sum up, this patch should be considered for inclusion.
Thanks for testing :)

Sergey.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.