diff options
author | Wim <wim@42.be> | 2018-12-13 20:49:14 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-12-13 20:49:14 +0100 |
commit | 959ca3cef3f4cf2ca45078deb01c1bcdbd17a135 (patch) | |
tree | d830d7366fc7b42cbcd0cee1a8662891175b6276 /bridge/slack/helpers.go | |
parent | ccd55d2a2889349b8526dd55e29e827c12521f08 (diff) | |
download | matterbridge-msglm-959ca3cef3f4cf2ca45078deb01c1bcdbd17a135.tar.gz matterbridge-msglm-959ca3cef3f4cf2ca45078deb01c1bcdbd17a135.tar.bz2 matterbridge-msglm-959ca3cef3f4cf2ca45078deb01c1bcdbd17a135.zip |
Fix bot (legacy token) messages not being send. Closes #571
Diffstat (limited to 'bridge/slack/helpers.go')
-rw-r--r-- | bridge/slack/helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/slack/helpers.go b/bridge/slack/helpers.go index bbe95320..ff039c58 100644 --- a/bridge/slack/helpers.go +++ b/bridge/slack/helpers.go @@ -250,7 +250,7 @@ func (b *Bslack) populateMessageWithBotInfo(ev *slack.MessageEvent, rmsg *config } b.Log.Debugf("Found bot %#v", bot) - if bot.Name != "" && bot.Name != "Slack API Tester" { + if bot.Name != "" { rmsg.Username = bot.Name if ev.Username != "" { rmsg.Username = ev.Username |