From 97545695257b30bcaf80e1b64bbed6cce2303be6 Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Sun, 10 May 2020 23:20:35 +0100 Subject: Fix webhook EventUserAction messages being skipped (discord) (#1133) Fixes #1132 --- bridge/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 614512f3..245b87c7 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -229,7 +229,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) { // Use webhook to send the message if wID != "" && msg.Event != config.EventMsgDelete { // skip events - if msg.Event != "" && msg.Event != config.EventJoinLeave && msg.Event != config.EventTopicChange { + if msg.Event != "" && msg.Event != config.EventUserAction && msg.Event != config.EventJoinLeave && msg.Event != config.EventTopicChange { return "", nil } -- cgit v1.2.3