mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	stream_list: Set filter_out_inactives before rendering.
				
					
				
			When initializing the app or re-rendering left sidebar to update the `demote_inactive_streams` property, we need to update `filter_out_inactives` property first.
This commit is contained in:
		@@ -901,8 +901,8 @@ export function dispatch_normal_event(event) {
 | 
			
		||||
                $("body").toggleClass("high-contrast");
 | 
			
		||||
            }
 | 
			
		||||
            if (event.property === "demote_inactive_streams") {
 | 
			
		||||
                stream_list.update_streams_sidebar();
 | 
			
		||||
                stream_list_sort.set_filter_out_inactives();
 | 
			
		||||
                stream_list.update_streams_sidebar();
 | 
			
		||||
            }
 | 
			
		||||
            if (event.property === "web_animate_image_previews") {
 | 
			
		||||
                // Rerender the whole message list UI
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user