MM-25016 Send group Name to in out of channel group users message (#14537)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e27b86cae0
Коммит
599bd93258
@@ -411,7 +411,7 @@ func (a *App) sendNoUsersNotifiedByGroupInChannel(sender *model.User, post *mode
|
|||||||
RootId: post.RootId,
|
RootId: post.RootId,
|
||||||
ParentId: post.ParentId,
|
ParentId: post.ParentId,
|
||||||
ChannelId: channel.Id,
|
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)
|
a.SendEphemeralPost(post.UserId, ephemeralPost)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1614,7 +1614,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "api.post.check_for_out_of_channel_group_users.message.none",
|
"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",
|
"id": "api.post.check_for_out_of_channel_groups_mentions.message.multiple",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user