瀏覽代碼

feat(e2ee): broadcast e2ee disabled

j8
titus.moldovan 4 年之前
父節點
當前提交
093d8f830a
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      react/features/base/participants/middleware.js

+ 1
- 3
react/features/base/participants/middleware.js 查看文件

277
 function _e2eeUpdated({ dispatch }, conference, participantId, newValue) {
277
 function _e2eeUpdated({ dispatch }, conference, participantId, newValue) {
278
     const e2eeEnabled = newValue === 'true';
278
     const e2eeEnabled = newValue === 'true';
279
 
279
 
280
-    if (e2eeEnabled) {
281
-        dispatch(toggleE2EE(e2eeEnabled));
282
-    }
280
+    dispatch(toggleE2EE(e2eeEnabled));
283
 
281
 
284
     dispatch(participantUpdated({
282
     dispatch(participantUpdated({
285
         conference,
283
         conference,

Loading…
取消
儲存