Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(blur): Disable blur on conference leave

Jaya Allamsetty58018a086c80
diff --git a/conference.js b/conference.js
index 9b273c5c6d..4282bcc5ad 100644
--- a/conference.js
+++ b/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;