mirror of https://github.com/zulip/zulip.git
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:
parent
0d324d38b3
commit
b41fc75767
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue