mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
We now use recipient_id % 24 for new stream colors when users have already used all 24 of our canned colors. This fix doesn't address the scenario that somebody dislikes one of our current canned colors, so if a user continually changes canned color N to some other color for new streams, their new streams will continue to include color N (and the user will still need to change them). This fix doesn't address the fact that it can be expensive during bulk-add situations to query for all the colors that users have already used up. See https://chat.zulip.org/#narrow/stream/3-backend/topic/assigning.20stream.20colors for more discussion.
309 KiB
309 KiB