diff options
author | Sebastian P <5564491+s3lph@users.noreply.github.com> | 2022-11-27 00:17:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 00:17:11 +0100 |
commit | 6da9d567dc9195e9a5211f23a6795a41f56a1bfc (patch) | |
tree | 394e52b5a2e6f5c853c642e74774d9719550bb22 /bridge/mumble/mumble.go | |
parent | 6d5a3dff2279f9cc1e9a846419c6cae2fe563e8d (diff) | |
download | matterbridge-msglm-6da9d567dc9195e9a5211f23a6795a41f56a1bfc.tar.gz matterbridge-msglm-6da9d567dc9195e9a5211f23a6795a41f56a1bfc.tar.bz2 matterbridge-msglm-6da9d567dc9195e9a5211f23a6795a41f56a1bfc.zip |
Implement sending of EventJoinLeave both to and from Mumble (#1915)
* mumble: Implement sending of EventJoinLeave both to and from Mumble (Closes #1435)
* mumble: Break handleUserChange into two functions
Diffstat (limited to 'bridge/mumble/mumble.go')
-rw-r--r-- | bridge/mumble/mumble.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/mumble/mumble.go b/bridge/mumble/mumble.go index 1943bd39..945cf559 100644 --- a/bridge/mumble/mumble.go +++ b/bridge/mumble/mumble.go @@ -93,7 +93,7 @@ func (b *Bmumble) JoinChannel(channel config.ChannelInfo) error { func (b *Bmumble) Send(msg config.Message) (string, error) { // Only process text messages b.Log.Debugf("=> Received local message %#v", msg) - if msg.Event != "" && msg.Event != config.EventUserAction { + if msg.Event != "" && msg.Event != config.EventUserAction && msg.Event != config.EventJoinLeave { return "", nil } |