blur: don't persist settings

This commit is contained in:
Saúl Ibarra Corretgé 2020-03-24 08:34:29 +01:00 committed by Saúl Ibarra Corretgé
parent f5a0a1ef8c
commit c990a64ba9
2 changed files with 0 additions and 11 deletions

View File

@ -111,7 +111,6 @@ import {
trackRemoved
} from './react/features/base/tracks';
import { getJitsiMeetGlobalNS } from './react/features/base/util';
import { toggleBlurEffect } from './react/features/blur';
import { showDesktopPicker } from './react/features/desktop-picker';
import { appendSuffix } from './react/features/display-name';
import {
@ -2702,12 +2701,6 @@ export default {
this._stopProxyConnection();
// Set blur to disabled if it was enabled during the call.
const blurEnabled = APP.store.getState()['features/blur']?.blurEnabled;
if (blurEnabled) {
APP.store.dispatch(toggleBlurEffect(false));
}
APP.store.dispatch(destroyLocalTracks());
this._localTracksInitialized = false;
this.localVideo = null;

View File

@ -1,13 +1,9 @@
// @flow
import { ReducerRegistry } from '../base/redux';
import { PersistenceRegistry } from '../base/storage';
import { BLUR_ENABLED, BLUR_DISABLED } from './actionTypes';
PersistenceRegistry.register('features/blur', true, {
blurEnabled: false
});
ReducerRegistry.register('features/blur', (state = {}, action) => {