[JDEV] Avatar problem with clearing the picture
temas at box5.net
Fri Sep 7 10:05:11 CDT 2001
On Thu, 2001-09-06 at 12:57, Jens Alfke wrote:
> I believe there is a glitch in one aspect of the avatar proposal.
> There's an explicit mechanism to cancel the avatar icon by sending an
> empty 'jabber:x:avatar' extension with no hash. This implies that if the
> extension isn't given at all, the icon is not canceled/cleared (since
> otherwise it would be simpler to cancel the icon just by not including
> the extension at all.)
> However, I think this is incorrect. The reason is that if you first send
> presence with an avatar hash, and then later send presence with no
> extension -- thus continuing the same avatar picture -- only the second
> presence element will get sent to people who come online afterwards.
> These people will not see any avatar hash and will not know whether
> you've set a picture or whether any previously cached picture is still
> Therefore I suggest that we use the absence of the 'jabber:x:avatar'
> extension to indicate canceling the avatar picture. The extension with
> missing <hash> sub-element would not be valid. The change to the
> existing spec is to remove the <x> element from the example following
> "User disables their icon:".
> PS: For those just tuning in, the proposal is at
> jdev mailing list
> jdev at jabber.org
I agree... I'm updating the spec on core now, so check it in about 15-30
and look for any more changes. Also feel free to msg me, JID:
temas at jabber.org.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 232 bytes
Desc: not available
More information about the JDev