Closed SystemKeeper closed 2 months ago
Depending on the color choosen, we get a value above 1 for each of the color components (because of extended sRGB), resulting in an invalid hex string:
and setting a conversation avatar with emoji might fail.
So we make sure that we have a max value of 255.
Depending on the color choosen, we get a value above 1 for each of the color components (because of extended sRGB), resulting in an invalid hex string:
and setting a conversation avatar with emoji might fail.
So we make sure that we have a max value of 255.