diff options
Diffstat (limited to 'app/webhook.go')
-rw-r--r-- | app/webhook.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/webhook.go b/app/webhook.go index f7efd3af0..5ce56aa88 100644 --- a/app/webhook.go +++ b/app/webhook.go @@ -537,6 +537,9 @@ func (a *App) HandleIncomingWebhook(hookId string, req *model.IncomingWebhookReq channelName := req.ChannelName webhookType := req.Type + text = a.ProcessSlackText(text) + req.Attachments = a.ProcessSlackAttachments(req.Attachments) + // attachments is in here for slack compatibility if len(req.Attachments) > 0 { if len(req.Props) == 0 { |