[Standards] XEP-0392: Consistent Color Generation - Issues using JID
sam at samwhited.com
Fri Dec 8 16:00:25 UTC 2017
On Fri, Dec 8, 2017, at 09:39, Edwin Mons wrote:
> On 08-12-17 16:03, Sam Whited wrote:
> The last bit isn't exactly true. A resourcepart is an OpaqueString
> profile of the FreeformClass. 7622 § 3.4.1 suggests that applications
> might use a narrower definition, but that's not enforced by either
> XEP-0045 or XEP-0392, is it?
Ah yes, you're right, my mistake.
Either way, if you're comparing the full JID and the resourcepart is
different you probably want the color to be different. If you're
comparing users in 1:1 chats, you probably want to drop the resourcepart
before doing the comparison anyways in which case it's not a problem.
More information about the Standards