mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
zilencer: Exclude realm_locally_deleted in get_human_user_realm_uuids.
Just like deactivated realms should be excluded, so should locally deleted realms. In particular, failure to exclude locally deleted realms breaks handle_customer_migration_from_server_to_realms.
This commit is contained in:
committed by
Tim Abbott
parent
be03dabf76
commit
616527e73e
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user