From 959ca3cef3f4cf2ca45078deb01c1bcdbd17a135 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 13 Dec 2018 20:49:14 +0100 Subject: Fix bot (legacy token) messages not being send. Closes #571 --- bridge/slack/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3