mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 07:00:27 +00:00
Do not relay slackbot messages (slack). Closes #119
This commit is contained in:
parent
956d7cf3f3
commit
072cac0347
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user