From 093d8f830a3c9d69f5e72246f7b6b0b35cf034ad Mon Sep 17 00:00:00 2001 From: "titus.moldovan" Date: Fri, 4 Jun 2021 09:50:27 +0300 Subject: [PATCH] feat(e2ee): broadcast e2ee disabled --- react/features/base/participants/middleware.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/react/features/base/participants/middleware.js b/react/features/base/participants/middleware.js index d9e0bfc29..cddc83e3f 100644 --- a/react/features/base/participants/middleware.js +++ b/react/features/base/participants/middleware.js @@ -277,9 +277,7 @@ StateListenerRegistry.register( function _e2eeUpdated({ dispatch }, conference, participantId, newValue) { const e2eeEnabled = newValue === 'true'; - if (e2eeEnabled) { - dispatch(toggleE2EE(e2eeEnabled)); - } + dispatch(toggleE2EE(e2eeEnabled)); dispatch(participantUpdated({ conference,