PLT-7824 Added support for mentions with <@userid> and <!here> (#7615) (#7737)

Этот коммит содержится в:
Joey Lee
2017-11-18 03:17:59 +11:00
коммит произвёл Harrison Healey
родитель 065d8e9731
Коммит 3836f99920
9 изменённых файлов: 170 добавлений и 123 удалений

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

@@ -275,6 +275,10 @@ func (a *App) HandleCommandResponse(command *model.Command, args *model.CommandA
}
}
// Process Slack text replacements
response.Text = a.ProcessSlackText(response.Text)
response.Attachments = a.ProcessSlackAttachments(response.Attachments)
if _, err := a.CreateCommandPost(post, args.TeamId, response); err != nil {
l4g.Error(err.Error())
}