feat(e2ee): broadcast e2ee disabled

This commit is contained in:
titus.moldovan 2021-06-04 09:50:27 +03:00 committed by tmoldovan8x8
parent 2ca4dd3755
commit 093d8f830a
1 changed files with 1 additions and 3 deletions

View File

@ -277,9 +277,7 @@ StateListenerRegistry.register(
function _e2eeUpdated({ dispatch }, conference, participantId, newValue) { function _e2eeUpdated({ dispatch }, conference, participantId, newValue) {
const e2eeEnabled = newValue === 'true'; const e2eeEnabled = newValue === 'true';
if (e2eeEnabled) { dispatch(toggleE2EE(e2eeEnabled));
dispatch(toggleE2EE(e2eeEnabled));
}
dispatch(participantUpdated({ dispatch(participantUpdated({
conference, conference,