mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +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) {
 | 
			
		||||
    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);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user