mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Merge stream_set and stream_color into a single data structure
(imported from commit 88324e0d296f192feac4f5ecf45f347712cc5914)
This commit is contained in:
@@ -332,10 +332,7 @@ function add_to_table(messages, table_name, filter_function, where, allow_collap
|
||||
message.stamp = ui.get_gravatar_stamp();
|
||||
}
|
||||
|
||||
var background_color = subs.get_color(message.display_recipient);
|
||||
if (background_color !== undefined) {
|
||||
message.background_color = background_color;
|
||||
}
|
||||
message.background_color = subs.get_color(message.display_recipient);
|
||||
|
||||
messages_to_render.push(message);
|
||||
prev = message;
|
||||
|
||||
Reference in New Issue
Block a user