nio icon indicating copy to clipboard operation
nio copied to clipboard

Distinct foreign message colors

Open kiliankoe opened this issue 6 years ago • 1 comments

Add a setting that, if enabled, causes foreign messages in groups to have separate background (or just author name label) colors based on their sender to be easily distinguishable from another. Basically what Signal for Android does.

signal android screenshot

Colors should obviously be deterministically based on sender MXIDs. I don't think there's a need for anybody to be able to influence how they appear on another device, which would also make this much more complicated.

cc @sn3ek

kiliankoe avatar Dec 02 '19 18:12 kiliankoe

One way to achieve optimally distinguishable colors is to sample from a golden ratio distribution.

For this to work properly one would need to keep an AUTO INCREMENT identifier, assigned to each user joining the room and use those to sample from the distribution.

regexident avatar Dec 08 '19 23:12 regexident