fix(conference) fix broken dispatch on mobile

This commit is contained in:
Saúl Ibarra Corretgé 2021-12-01 14:15:42 +01:00 committed by Saúl Ibarra Corretgé
parent 7a479b967c
commit 991a0e22a8
1 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ function _addConferenceListeners(conference, dispatch, state) {
// Disable the mute button only if its muted.
if (!disableAudioMuteChange || (disableAudioMuteChange && muted)) {
APP.store.dispatch(setAudioUnmutePermissions(disableAudioMuteChange));
dispatch(setAudioUnmutePermissions(disableAudioMuteChange));
}
});
conference.on(
@ -171,7 +171,7 @@ function _addConferenceListeners(conference, dispatch, state) {
// Disable the mute button only if its muted.
if (!disableVideoMuteChange || (disableVideoMuteChange && muted)) {
APP.store.dispatch(setVideoUnmutePermissions(disableVideoMuteChange));
dispatch(setVideoUnmutePermissions(disableVideoMuteChange));
}
});