mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
subs: Remove unnecessary update_stream_color call.
The color was already being updated in the response from the server.
This commit is contained in:
@@ -230,7 +230,6 @@ function stream_pin_clicked(e) {
|
|||||||
|
|
||||||
exports.set_color = function (stream_id, color) {
|
exports.set_color = function (stream_id, color) {
|
||||||
var sub = stream_data.get_sub_by_id(stream_id);
|
var sub = stream_data.get_sub_by_id(stream_id);
|
||||||
stream_color.update_stream_color(sub, sub.name, color, {update_historical: true});
|
|
||||||
set_stream_property(sub.name, 'color', color);
|
set_stream_property(sub.name, 'color', color);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user