mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	user_groups: Convert user_group_by_id_dict from Dict to IntDict.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							38c7fc0038
						
					
				
				
					commit
					6ec5a1f306
				
			@@ -1,5 +1,5 @@
 | 
			
		||||
const Dict = require('./dict').Dict;
 | 
			
		||||
const FoldDict = require('./fold_dict').FoldDict;
 | 
			
		||||
const IntDict = require('./int_dict').IntDict;
 | 
			
		||||
 | 
			
		||||
let user_group_name_dict;
 | 
			
		||||
let user_group_by_id_dict;
 | 
			
		||||
@@ -8,7 +8,7 @@ let user_group_by_id_dict;
 | 
			
		||||
// can easily clear data.
 | 
			
		||||
exports.init = function () {
 | 
			
		||||
    user_group_name_dict = new FoldDict();
 | 
			
		||||
    user_group_by_id_dict = new Dict();
 | 
			
		||||
    user_group_by_id_dict = new IntDict();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
// WE INITIALIZE DATA STRUCTURES HERE!
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user