blur: don't persist settings
This commit is contained in:
parent
f5a0a1ef8c
commit
c990a64ba9
|
@ -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;
|
||||
|
|
|
@ -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) => {
|
||||
|
||||
|
|
Loading…
Reference in New Issue