Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

zilencer: Exclude realm_locally_deleted in get_human_user_realm_uuids.

Mateusz Mandera616527e73e40
diff --git a/zilencer/views.py b/zilencer/views.py
index f7d3b98a59d..b6d051cf2c8 100644
--- a/zilencer/views.py
+++ b/zilencer/views.py
@@ -915,6 +915,7 @@ def get_human_user_realm_uuids(
query = RemoteRealm.objects.filter(
server=server,
realm_deactivated=False,
+ realm_locally_deleted=False,
registration_deactivated=False,
is_system_bot_realm=False,
).exclude(