Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 8106f08142d4ae78275f43c00d40b998a38814e9 Author: Duco van Amstel <duco.vanamstel@gmail.com> Date: Tue Mar 12 21:56:43 2019 +0000 Force Slack link unfurling (#763) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 860f494..f0f7768 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -4247 +42411 @@ 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 {