mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Don't set realm filters unless we have local echo
(imported from commit bbb7d87a869d6f1bd99a45581f8f557a97f30cce)
This commit is contained in:
		@@ -342,6 +342,9 @@ function python_to_js_filter(pattern, url) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
exports.set_realm_filters = function set_realm_filters(realm_filters) {
 | 
					exports.set_realm_filters = function set_realm_filters(realm_filters) {
 | 
				
			||||||
    // Update the marked parser with our particular set of realm filters
 | 
					    // Update the marked parser with our particular set of realm filters
 | 
				
			||||||
 | 
					    if (!page_params.local_echo) {
 | 
				
			||||||
 | 
					        return;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    realm_filter_map = {};
 | 
					    realm_filter_map = {};
 | 
				
			||||||
    realm_filter_list = [];
 | 
					    realm_filter_list = [];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user