Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 0faf2ea5328b00711291fe38d1526042e9c887bb Author: Wim <wim@42.be> Date: Thu Feb 28 12:59:52 2019 +0000 Do not relay any bot messages (discord) (#743) diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go index 85a36e1..bc8ec93 100644 --- a/bridge/discord/handlers.go +++ b/bridge/discord/handlers.go @@ -367 +367 @@ 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   }