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