Просмотр исходного кода

blur: don't persist settings

j8
Saúl Ibarra Corretgé 5 лет назад
Родитель
Сommit
c990a64ba9
2 измененных файлов: 0 добавлений и 11 удалений
  1. 0
    7
      conference.js
  2. 0
    4
      react/features/blur/reducer.js

+ 0
- 7
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';
115
 import { showDesktopPicker } from './react/features/desktop-picker';
114
 import { showDesktopPicker } from './react/features/desktop-picker';
116
 import { appendSuffix } from './react/features/display-name';
115
 import { appendSuffix } from './react/features/display-name';
117
 import {
116
 import {
2702
 
2701
 
2703
         this._stopProxyConnection();
2702
         this._stopProxyConnection();
2704
 
2703
 
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
-        }
2711
         APP.store.dispatch(destroyLocalTracks());
2704
         APP.store.dispatch(destroyLocalTracks());
2712
         this._localTracksInitialized = false;
2705
         this._localTracksInitialized = false;
2713
         this.localVideo = null;
2706
         this.localVideo = null;

+ 0
- 4
react/features/blur/reducer.js Просмотреть файл

1
 // @flow
1
 // @flow
2
 
2
 
3
 import { ReducerRegistry } from '../base/redux';
3
 import { ReducerRegistry } from '../base/redux';
4
-import { PersistenceRegistry } from '../base/storage';
5
 
4
 
6
 import { BLUR_ENABLED, BLUR_DISABLED } from './actionTypes';
5
 import { BLUR_ENABLED, BLUR_DISABLED } from './actionTypes';
7
 
6
 
8
-PersistenceRegistry.register('features/blur', true, {
9
-    blurEnabled: false
10
-});
11
 
7
 
12
 ReducerRegistry.register('features/blur', (state = {}, action) => {
8
 ReducerRegistry.register('features/blur', (state = {}, action) => {
13
 
9
 

Загрузка…
Отмена
Сохранить