From 3836f9992056410e00041004132f5d53b4e43300 Mon Sep 17 00:00:00 2001 From: Joey Lee Date: Sat, 18 Nov 2017 03:17:59 +1100 Subject: PLT-7824 Added support for mentions with <@userid> and (#7615) (#7737) --- app/command.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/command.go') diff --git a/app/command.go b/app/command.go index 96dd2656c..8bd025c8e 100644 --- a/app/command.go +++ b/app/command.go @@ -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()) } -- cgit v1.2.3-1-g7c22