mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
notifications: Remove unused field from template context.
While one often might want to put the user's name in an email template, `name` here was the user's full name, not their first name, and thus reads as quite formal.
This commit is contained in:
@@ -476,8 +476,7 @@ def enqueue_welcome_emails(email, name):
|
||||
user_profile = get_user_profile_by_email(email)
|
||||
unsubscribe_link = one_click_unsubscribe_link(user_profile, "welcome")
|
||||
|
||||
template_payload = {'name': name,
|
||||
'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS,
|
||||
template_payload = {'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS,
|
||||
'external_host': settings.EXTERNAL_HOST,
|
||||
'external_uri_scheme': settings.EXTERNAL_URI_SCHEME,
|
||||
'server_uri': settings.SERVER_URI,
|
||||
|
||||
Reference in New Issue
Block a user