mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	This mirrors the restrictions in zerver.lib.message.bulk_access_stream_messages_query, in order to prevent leftover UserMessage rows from granting access to messages the user was previously allowed to access but no longer is. Signed-off-by: Anders Kaseorg <anders@zulip.com>