commit f6e19789a0ff36bf951e217d6528947224d8fb98
Author: Wim <wim@42.be>
Date: Tue Aug 29 23:34:50 2017 +0000
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index 31d441a..e681c78 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -1636 +1639 @@ func (b *Bslack) Send(msg config.Message) (string, error) {
np.IconURL = msg.Avatar
}
np.Attachments = append(np.Attachments, slack.Attachment{CallbackID: "matterbridge"})
+ // replace mentions
+ np.LinkNames = 1
+
// if we have no ID it means we're creating a new message, not updating an existing one
if msg.ID != "" {
ts := strings.Fields(msg.ID)