mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	page_params: Include avatars and similar data in cross-realm bots.
This ensures that the format of this data structures matches that for in-realm bots in the main users data structure (including avatars, etc.). Fixes #10138.
This commit is contained in:
		@@ -73,6 +73,7 @@ def get_raw_user_data(realm_id: int, client_gravatar: bool) -> Dict[int, Dict[st
 | 
			
		||||
 | 
			
		||||
        is_admin = row['is_realm_admin']
 | 
			
		||||
        is_bot = row['is_bot']
 | 
			
		||||
        # This format should align with get_cross_realm_dicts() and notify_created_user
 | 
			
		||||
        result = dict(
 | 
			
		||||
            email=row['email'],
 | 
			
		||||
            user_id=row['id'],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user