summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-12-13 20:49:14 +0100
committerWim <wim@42.be>2018-12-15 23:13:42 +0100
commitb3999b6e7188262006c8c0df806a5dfe53977e8d (patch)
tree77238b1c332a29689470567c163fe041d4b50650 /bridge
parent6bef998bb3b2a18a52872f1096dda8dd446c573f (diff)
downloadmatterbridge-msglm-b3999b6e7188262006c8c0df806a5dfe53977e8d.tar.gz
matterbridge-msglm-b3999b6e7188262006c8c0df806a5dfe53977e8d.tar.bz2
matterbridge-msglm-b3999b6e7188262006c8c0df806a5dfe53977e8d.zip
Fix bot (legacy token) messages not being send. Closes #571
Diffstat (limited to 'bridge')
-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 b0fdaba1..26a4748e 100644
--- a/bridge/slack/helpers.go
+++ b/bridge/slack/helpers.go
@@ -251,7 +251,7 @@ func (b *Bslack) populateMessageWithBotInfo(ev *slack.MessageEvent, rmsg *config
}
}
- if bot.Name != "" && bot.Name != "Slack API Tester" {
+ if bot.Name != "" {
rmsg.Username = bot.Name
if ev.Username != "" {
rmsg.Username = ev.Username