summaryrefslogtreecommitdiffstats
path: root/bridge/slack
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-12-13 20:49:14 +0100
committerWim <wim@42.be>2018-12-13 20:49:14 +0100
commit959ca3cef3f4cf2ca45078deb01c1bcdbd17a135 (patch)
treed830d7366fc7b42cbcd0cee1a8662891175b6276 /bridge/slack
parentccd55d2a2889349b8526dd55e29e827c12521f08 (diff)
downloadmatterbridge-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')
-rw-r--r--bridge/slack/helpers.go2
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