fix(blur): Disable blur on conference leave

pull/5352/head jitsi-meet_4310
Jaya Allamsetty 5 years ago committed by Jaya Allamsetty
parent b3a7f5f38b
commit 58018a086c
  1. 7
      conference.js

@ -111,6 +111,7 @@ 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 {
@ -2701,6 +2702,12 @@ 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;

Loading…
Cancel
Save