summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/slack/slack.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index 860f4942..f0f77688 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -424,7 +424,11 @@ func (b *Bslack) postMessage(msg *config.Message, channelInfo *slack.Channel) (s
return "", nil
}
messageOptions := b.prepareMessageOptions(msg)
- messageOptions = append(messageOptions, slack.MsgOptionText(msg.Text, false))
+ messageOptions = append(
+ messageOptions,
+ slack.MsgOptionText(msg.Text, false),
+ slack.MsgOptionEnableLinkUnfurl(),
+ )
for {
_, id, err := b.rtm.PostMessage(channelInfo.ID, messageOptions...)
if err == nil {