From 8779f67d2de3cddfd1cfec9a39f3c8496b3e0428 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 28 Jun 2018 21:14:31 +0200 Subject: Allow join-leave and topic changes to webhook (discord) --- bridge/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/discord') diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 81f0cbe3..5cef5f01 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -127,7 +127,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) { // Use webhook to send the message if wID != "" { // skip events - if msg.Event != "" { + if msg.Event != "" && msg.Event != EVENT_JOIN_LEAVE && msg.Event != EVENT_TOPIC_CHANGE { return "", nil } b.Log.Debugf("Broadcasting using Webhook") -- cgit v1.2.3