diff options
author | Wim <wim@42.be> | 2018-06-28 21:14:31 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2018-06-28 21:14:31 +0200 |
commit | 8779f67d2de3cddfd1cfec9a39f3c8496b3e0428 (patch) | |
tree | e84327608032229f8902d382838e3f1e9f1a6ef7 /bridge | |
parent | e4b72136b80b981d842fa5a06c78ae99031c7878 (diff) | |
download | matterbridge-msglm-8779f67d2de3cddfd1cfec9a39f3c8496b3e0428.tar.gz matterbridge-msglm-8779f67d2de3cddfd1cfec9a39f3c8496b3e0428.tar.bz2 matterbridge-msglm-8779f67d2de3cddfd1cfec9a39f3c8496b3e0428.zip |
Allow join-leave and topic changes to webhook (discord)
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/discord/discord.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") |