瀏覽代碼

fix(blur): Disable blur on conference leave

master
Jaya Allamsetty 5 年之前
父節點
當前提交
58018a086c
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. 7
    0
      conference.js

+ 7
- 0
conference.js 查看文件

111
     trackRemoved
111
     trackRemoved
112
 } from './react/features/base/tracks';
112
 } from './react/features/base/tracks';
113
 import { getJitsiMeetGlobalNS } from './react/features/base/util';
113
 import { getJitsiMeetGlobalNS } from './react/features/base/util';
114
+import { toggleBlurEffect } from './react/features/blur';
114
 import { showDesktopPicker } from './react/features/desktop-picker';
115
 import { showDesktopPicker } from './react/features/desktop-picker';
115
 import { appendSuffix } from './react/features/display-name';
116
 import { appendSuffix } from './react/features/display-name';
116
 import {
117
 import {
2701
 
2702
 
2702
         this._stopProxyConnection();
2703
         this._stopProxyConnection();
2703
 
2704
 
2705
+        // Set blur to disabled if it was enabled during the call.
2706
+        const blurEnabled = APP.store.getState()['features/blur']?.blurEnabled;
2707
+
2708
+        if (blurEnabled) {
2709
+            APP.store.dispatch(toggleBlurEffect(false));
2710
+        }
2704
         APP.store.dispatch(destroyLocalTracks());
2711
         APP.store.dispatch(destroyLocalTracks());
2705
         this._localTracksInitialized = false;
2712
         this._localTracksInitialized = false;
2706
         this.localVideo = null;
2713
         this.localVideo = null;

Loading…
取消
儲存