mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-21 10:12:00 -08: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