diff options
author | Wim <wim@42.be> | 2018-03-05 20:19:43 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-03-05 20:19:43 +0100 |
commit | 8d2ce56c37f3634c185327cd73d360fd02cd13d7 (patch) | |
tree | 221213a6281dd9ced19d891c74a3b34bb9683684 /bridge/slack/slack.go | |
parent | 1ec324354be8133830919fe454f363106410c1e8 (diff) | |
download | matterbridge-msglm-8d2ce56c37f3634c185327cd73d360fd02cd13d7.tar.gz matterbridge-msglm-8d2ce56c37f3634c185327cd73d360fd02cd13d7.tar.bz2 matterbridge-msglm-8d2ce56c37f3634c185327cd73d360fd02cd13d7.zip |
Fix regression (slack). Closes #384
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r-- | bridge/slack/slack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index c7c2fac8..4d128415 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -256,11 +256,11 @@ func (b *Bslack) handleSlack() { b.Log.Debugf("<= Sending message from %s on %s to gateway", message.Username, b.Account) // cleanup the message - message.Text = b.replaceURL(message.Text) - message.Text = html.UnescapeString(message.Text) message.Text = b.replaceMention(message.Text) message.Text = b.replaceVariable(message.Text) message.Text = b.replaceChannel(message.Text) + message.Text = b.replaceURL(message.Text) + message.Text = html.UnescapeString(message.Text) // Add the avatar message.Avatar = b.getAvatar(message.Username) |