mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 18:40:25 +00:00
Fix webhook EventUserAction messages being skipped (discord) (#1133)
Fixes #1132
This commit is contained in:
parent
52a071e34d
commit
9754569525
@ -229,7 +229,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) {
|
|||||||
// Use webhook to send the message
|
// Use webhook to send the message
|
||||||
if wID != "" && msg.Event != config.EventMsgDelete {
|
if wID != "" && msg.Event != config.EventMsgDelete {
|
||||||
// skip events
|
// 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
|
return "", nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user