Parcourir la source

blur: don't persist settings

master
Saúl Ibarra Corretgé il y a 5 ans
Parent
révision
c990a64ba9
2 fichiers modifiés avec 0 ajouts et 11 suppressions
  1. 0
    7
      conference.js
  2. 0
    4
      react/features/blur/reducer.js

+ 0
- 7
conference.js Voir le fichier

@@ -111,7 +111,6 @@ import {
111 111
     trackRemoved
112 112
 } from './react/features/base/tracks';
113 113
 import { getJitsiMeetGlobalNS } from './react/features/base/util';
114
-import { toggleBlurEffect } from './react/features/blur';
115 114
 import { showDesktopPicker } from './react/features/desktop-picker';
116 115
 import { appendSuffix } from './react/features/display-name';
117 116
 import {
@@ -2702,12 +2701,6 @@ export default {
2702 2701
 
2703 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 2704
         APP.store.dispatch(destroyLocalTracks());
2712 2705
         this._localTracksInitialized = false;
2713 2706
         this.localVideo = null;

+ 0
- 4
react/features/blur/reducer.js Voir le fichier

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

Chargement…
Annuler
Enregistrer