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 удалений

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

@@ -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
}