mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
email-templates: Add account_registered email templates.
The "followup_day1" email template name is not clear or descriptive about the purpose of the email. Creates a duplicate of those email template files with the template name "account_registered". Because any existing scheduled emails that use the "followup_day1" templates will need to be updated before the current templates can be removed, we don't do a simple file rename here.
This commit is contained in:
committed by
Tim Abbott
parent
170a857bc1
commit
c491bef07b
@@ -802,7 +802,7 @@ def send_account_registered_email(user: UserProfile, realm_creation: bool = Fals
|
||||
break
|
||||
|
||||
send_future_email(
|
||||
"zerver/emails/followup_day1",
|
||||
"zerver/emails/account_registered",
|
||||
user.realm,
|
||||
to_user_ids=[user.id],
|
||||
from_name=from_name,
|
||||
|
||||
Reference in New Issue
Block a user