Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
emails: Fix incorrect onboarding email going to realm owners.
Tim Abbott5607365b8890
diff --git a/zerver/lib/email_notifications.py b/zerver/lib/email_notifications.pyindex a00502c7332..a0b92da0d7c 100644--- a/zerver/lib/email_notifications.py+++ b/zerver/lib/email_notifications.py@@ -646,7 +646,7 @@ def enqueue_welcome_emails(user: UserProfile, realm_creation: bool = False) -> Nrealm_name=user.realm.name,realm_creation=realm_creation,email=user.delivery_email,- is_realm_admin=user.role == UserProfile.ROLE_REALM_ADMINISTRATOR,+ is_realm_admin=user.is_realm_admin,)if user.is_realm_admin:context["getting_started_link"] = (