summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-05-01 18:10:31 +0200
committerWim <wim@42.be>2019-05-01 18:10:31 +0200
commit1829dc3d9f65ed04c6d4e4b604a71ca29f8dd911 (patch)
tree71a8b5cb4cbfe66dd4c3d73a411bc47430c169ea /bridge
parentbd0e81f5a0290fbc07a26664d327c09c306b9597 (diff)
downloadmatterbridge-msglm-1829dc3d9f65ed04c6d4e4b604a71ca29f8dd911.tar.gz
matterbridge-msglm-1829dc3d9f65ed04c6d4e4b604a71ca29f8dd911.tar.bz2
matterbridge-msglm-1829dc3d9f65ed04c6d4e4b604a71ca29f8dd911.zip
Allow messages from other bots (discord). Fixes #816
Diffstat (limited to 'bridge')
-rw-r--r--bridge/discord/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go
index bc8ec939..85a36e1d 100644
--- a/bridge/discord/handlers.go
+++ b/bridge/discord/handlers.go
@@ -36,7 +36,7 @@ func (b *Bdiscord) messageCreate(s *discordgo.Session, m *discordgo.MessageCreat
return
}
// if using webhooks, do not relay if it's ours
- if b.useWebhook() && m.Author.Bot { // && b.isWebhookID(m.Author.ID) {
+ if b.useWebhook() && m.Author.Bot && b.isWebhookID(m.Author.ID) {
return
}