Quaternion
Quaternion copied to clipboard
Provide shared solution for final user color calculation for different models
During task #528, I've faced the issue: I've reimplemented final username color calulation based on hue twice: for UserListModel
and MessageEventModel
. It is makes sense to distinguish actual calculation to shared part.
Details: https://github.com/QMatrixClient/Quaternion/pull/528#issuecomment-492602408