diff --git a/zerver/migrations/0439_fix_deleteduser_email.py b/zerver/migrations/0439_fix_deleteduser_email.py index 08166c4b7b..b979271464 100644 --- a/zerver/migrations/0439_fix_deleteduser_email.py +++ b/zerver/migrations/0439_fix_deleteduser_email.py @@ -28,7 +28,7 @@ def get_fake_email_domain(apps: StateApps, realm_id: int) -> str: # Implement get_fake_email_domain try: validate_email(Address(username="bot", domain=host).addr_spec) - return realm.host + return host except ValidationError: pass