mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	This commit updates code to not pre-fetch DM permission group settings using select_related and instead just fetch the required data from DB when checking permission. This will increase one query but will help in pre-fetching the settings for all users and for all type of messages. Fixes part of #33677.
		
			
				
	
	
	
		
			28 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			28 KiB