mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	home.py: rename subbed_info and move to register_ret.
This commit is contained in:
		@@ -388,12 +388,12 @@ exports.initialize_from_page_params = function () {
 | 
			
		||||
        defaults[stream.name] = true;
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    populate_subscriptions(page_params.subbed_info, true);
 | 
			
		||||
    populate_subscriptions(page_params.subscriptions, true);
 | 
			
		||||
    populate_subscriptions(page_params.unsubbed_info, false);
 | 
			
		||||
    populate_subscriptions(page_params.neversubbed_info, false);
 | 
			
		||||
 | 
			
		||||
    // Garbage collect data structures that were only used for initialization.
 | 
			
		||||
    delete page_params.subbed_info;
 | 
			
		||||
    delete page_params.subscriptions;
 | 
			
		||||
    delete page_params.unsubbed_info;
 | 
			
		||||
    delete page_params.neversubbed_info;
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user