Thumbnail

rani/matterbridge.git

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

commit fdf64edbdabb4fe0b6963baaa26cd61d1c4b6a4f Author: Wim <wim@42.be> Date: Wed May 01 18:10:31 2019 +0000 Allow messages from other bots (discord). Fixes #816 diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go index bc8ec93..85a36e1 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   }