[Standards] XEP-0392: Consistent Color Generation - Issues using JID

Marcel Waldvogel marcel.waldvogel at uni-konstanz.de
Fri Nov 24 13:11:14 UTC 2017


Related issue: JIDs are case-preserving, but case-insensitive. So the
coloring should also be case-insensitive. Therefore, we probably need
to normalize/downcase/similar the JIDs.
Does the same apply to Nicks as well?
On Fri, 2017-11-24 at 09:11 +0100, Jonas Wielicki wrote:
> On Montag, 20. November 2017 09:09:48 CET Maxime Buquet wrote:
> > Hi there,
> > 
> > A few remarks regarding 0392 after having it implemented in poezio,
> > thanks to Jonas.
> > 
> > Using JIDs as the source for the hash brings at least an issue to
> > me in
> > MUCs. You'll see the same person in different colors depending on
> > what room
> > you're looking at.
> 
> I found another issue with using the bare JID if known: on some IRC 
> transports, the bare JID will depend on the connection of the
> participant, and 
> may vary on each join. Normally it would be preferable to have the
> nick color 
> constant.
> 
> So I now tend to use the nickname instead of the JID in MUCs. Does
> anyone have 
> objections?
> 
> kind regards,
> Jonas_______________________________________________
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: Standards-unsubscribe at xmpp.org
> _______________________________________________
-- 
Beste Grüße,

-Marcel Waldvogel
University of Konstanz
Distributed Systems Laboratory
Efficient Secure and Private Collaboration
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20171124/9a04087e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6431 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/standards/attachments/20171124/9a04087e/attachment.bin>


More information about the Standards mailing list