summaryrefslogtreecommitdiffstats
path: root/model/command_response.go
diff options
context:
space:
mode:
authorJoey Lee <jayd005@gmail.com>2017-11-18 03:17:59 +1100
committerHarrison Healey <harrisonmhealey@gmail.com>2017-11-17 11:17:59 -0500
commit3836f9992056410e00041004132f5d53b4e43300 (patch)
treea75570472e9000c7cde74454af7fa186dcab2062 /model/command_response.go
parent065d8e97313b9c8ffad37862665186668c88499f (diff)
downloadchat-3836f9992056410e00041004132f5d53b4e43300.tar.gz
chat-3836f9992056410e00041004132f5d53b4e43300.tar.bz2
chat-3836f9992056410e00041004132f5d53b4e43300.zip
PLT-7824 Added support for mentions with <@userid> and <!here> (#7615) (#7737)
Diffstat (limited to 'model/command_response.go')
-rw-r--r--model/command_response.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/model/command_response.go b/model/command_response.go
index f5c628b71..a3a171ce4 100644
--- a/model/command_response.go
+++ b/model/command_response.go
@@ -59,8 +59,7 @@ func CommandResponseFromJson(data io.Reader) *CommandResponse {
return nil
}
- o.Text = ExpandAnnouncement(o.Text)
- o.Attachments = ProcessSlackAttachments(o.Attachments)
+ o.Attachments = StringifySlackFieldValue(o.Attachments)
return &o
}