summaryrefslogtreecommitdiffstats
path: root/bridge/discord
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2020-05-10 23:20:35 +0100
committerGitHub <noreply@github.com>2020-05-11 00:20:35 +0200
commit97545695257b30bcaf80e1b64bbed6cce2303be6 (patch)
treed0cbf8023bb03b63ebd64de0fbc70b1af3d8acd9 /bridge/discord
parent52a071e34d4e7d0ba69f41619d854d304e77b05d (diff)
downloadmatterbridge-msglm-97545695257b30bcaf80e1b64bbed6cce2303be6.tar.gz
matterbridge-msglm-97545695257b30bcaf80e1b64bbed6cce2303be6.tar.bz2
matterbridge-msglm-97545695257b30bcaf80e1b64bbed6cce2303be6.zip
Fix webhook EventUserAction messages being skipped (discord) (#1133)
Fixes #1132
Diffstat (limited to 'bridge/discord')
-rw-r--r--bridge/discord/discord.go2
1 files changed, 1 insertions, 1 deletions
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
}