5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-24 18:25:40 +00:00

Do not relay slackbot messages (slack). Closes #119

This commit is contained in:
Wim 2017-02-17 23:13:02 +01:00
parent 956d7cf3f3
commit 072cac0347

View File

@ -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
}
}