diff --git a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js index a2140561dfcb97d749d40981f4885f46b604c5f8..4b09c335d40268cc0333cd162b5b5d417bc2c78c 100644 --- a/bigbluebutton-html5/imports/ui/services/audio-manager/index.js +++ b/bigbluebutton-html5/imports/ui/services/audio-manager/index.js @@ -33,6 +33,15 @@ class AudioManager { error: null, outputDeviceId: null, }); + + const query = VoiceUsers.find({ intId: Auth.userID }); + + query.observeChanges({ // keep track of mute/unmute in case of Flash changing it + changed: (id, fields) => { + if (fields.muted === this.isMuted) return; + this.isMuted = fields.muted; + }, + }); } init(userData, messages) {