From 599bd932588b72be6b6c2da5e745a866f8c1c43a Mon Sep 17 00:00:00 2001 From: Farhan Munshi <3207297+fmunshi@users.noreply.github.com> Date: Wed, 13 May 2020 13:41:28 -0400 Subject: [PATCH] MM-25016 Send group Name to in out of channel group users message (#14537) --- app/notification.go | 2 +- i18n/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/notification.go b/app/notification.go index 87bf89fb78..0ac8d4a602 100644 --- a/app/notification.go +++ b/app/notification.go @@ -411,7 +411,7 @@ func (a *App) sendNoUsersNotifiedByGroupInChannel(sender *model.User, post *mode RootId: post.RootId, ParentId: post.ParentId, ChannelId: channel.Id, - Message: T("api.post.check_for_out_of_channel_group_users.message.none", model.StringInterface{"GroupDisplayName": group.DisplayName}), + Message: T("api.post.check_for_out_of_channel_group_users.message.none", model.StringInterface{"GroupName": group.Name}), } a.SendEphemeralPost(post.UserId, ephemeralPost) } diff --git a/i18n/en.json b/i18n/en.json index 743b691982..ba1abd6825 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1614,7 +1614,7 @@ }, { "id": "api.post.check_for_out_of_channel_group_users.message.none", - "translation": "@{{.GroupDisplayName}} has no members on this team" + "translation": "@{{.GroupName}} has no members on this team" }, { "id": "api.post.check_for_out_of_channel_groups_mentions.message.multiple",