mirror of https://github.com/zulip/zulip.git
subs: Remove unnecessary update_stream_color call.
The color was already being updated in the response from the server.
This commit is contained in:
parent
a70c5eb923
commit
73f020645f
|
@ -230,7 +230,6 @@ function stream_pin_clicked(e) {
|
|||
|
||||
exports.set_color = function (stream_id, color) {
|
||||
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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue