MM-38093: updates notifications copy on CRT replies (#18332)

MM-38093: updates notifications copy on CRT replies

Updates texts form push and email notifications when the user has CRT "on"
and the post is a reply to a thread.

Email batches text aware of CRT threads

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Kyriakos Z
2021-09-10 11:12:18 +03:00
коммит произвёл GitHub
родитель 6a0ba98fab
Коммит 1c8bc159e0
6 изменённых файлов: 89 добавлений и 14 удалений

Просмотреть файл

@@ -505,9 +505,9 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
a.sendPushNotification(
notification,
profileMap[id],
profileMap[id].NotifyProps[model.PushThreadsNotifyProp] == model.UserNotifyMention,
false,
model.UserNotifyAll,
false,
model.CommentsNotifyCRT,
)
} else {
// register that a notification was not sent