zilencer: Don't consider deactivated realms to transfer server plan.

This commit is contained in:
Aman Agrawal 2023-12-14 21:49:00 +00:00 committed by Tim Abbott
parent ba80084ea7
commit b4e92ecc48
1 changed files with 1 additions and 0 deletions

View File

@ -739,6 +739,7 @@ def get_human_user_realm_uuids(realms: List[RealmDataForAnalytics]) -> List[UUID
# TODO: Remove the `zulipinternal` string_id check once no server is on 8.0-beta.
if (
realm.is_system_bot_realm
or realm.deactivated
or realm.host.startswith("zulipinternal.")
or (settings.DEVELOPMENT and realm.host.startswith("analytics."))
):