diff options
-rw-r--r-- | app/notification.go | 2 | ||||
-rw-r--r-- | i18n/en.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/notification.go b/app/notification.go index 0afe25882..3daaf64ce 100644 --- a/app/notification.go +++ b/app/notification.go @@ -393,7 +393,7 @@ func sendNotificationEmail(post *model.Post, user *model.User, channel *model.Ch senderDisplayName := senderName mailTemplate = "api.templates.post_subject_in_direct_message" - mailParameters = map[string]interface{}{"SubjectText": subjectText, "TeamDisplayName": team.DisplayName, + mailParameters = map[string]interface{}{"SubjectText": subjectText, "SenderDisplayName": senderDisplayName, "Month": month, "Day": day, "Year": year} } else if channel.Type == model.CHANNEL_GROUP { bodyText = userLocale("api.post.send_notifications_and_forget.mention_body") diff --git a/i18n/en.json b/i18n/en.json index 677a5c289..156d6d8b2 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -2161,7 +2161,7 @@ }, { "id": "api.templates.post_subject_in_direct_message", - "translation": "{{.SubjectText}} in {{.TeamDisplayName}} from {{.SenderDisplayName}} on {{.Month}} {{.Day}}, {{.Year}}" + "translation": "{{.SubjectText}} from {{.SenderDisplayName}} on {{.Month}} {{.Day}}, {{.Year}}" }, { "id": "api.templates.channel_name.group", |