summaryrefslogtreecommitdiffstats
path: root/bridge/discord/handlers.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-02-28 12:59:52 +0100
committerGitHub <noreply@github.com>2019-02-28 12:59:52 +0100
commitaf00c34aaccb3521b8dbf0bd8876a5b38d5d42f4 (patch)
tree610f3a082552b53c72e10e282ae459833d1beeb5 /bridge/discord/handlers.go
parent120bf39f55c8df3d70a6263ccd2bff180d5e24e2 (diff)
downloadmatterbridge-msglm-af00c34aaccb3521b8dbf0bd8876a5b38d5d42f4.tar.gz
matterbridge-msglm-af00c34aaccb3521b8dbf0bd8876a5b38d5d42f4.tar.bz2
matterbridge-msglm-af00c34aaccb3521b8dbf0bd8876a5b38d5d42f4.zip
Do not relay any bot messages (discord) (#743)
Diffstat (limited to 'bridge/discord/handlers.go')
-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 85a36e1d..bc8ec939 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
}