Skip to content

Commit

Permalink
Fix webhook EventUserAction messages being skipped (discord) (#1133)
Browse files Browse the repository at this point in the history
Fixes #1132
  • Loading branch information
qaisjp authored May 10, 2020
1 parent 52a071e commit 9754569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/discord/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 9754569

Please sign in to comment.