From 072cac0347c9a4448d831e616ac157be8aa07690 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 17 Feb 2017 23:13:02 +0100 Subject: Do not relay slackbot messages (slack). Closes #119 --- bridge/slack/slack.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 0f8806a2..7d8c7812 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -245,6 +245,9 @@ func (b *Bslack) handleMatterHook(mchan chan *MMMessage) { m.Text = message.Text m.Text = b.replaceMention(m.Text) m.Channel = message.ChannelName + if m.Username == "slackbot" { + continue + } mchan <- m } } -- cgit v1.2.3