mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
This commit updates code to not prefetch can_access_all_users_group and can_access_all_users_group__named_user_group fields using select_related. We can just use get_realm_system_groups_name_dict function to check if setting is set to "Everyone" group when needed and can avoid unnecessarily fetching groups for every user query.
20 KiB
20 KiB