fix(blur): Disable blur on conference leave
This commit is contained in:
parent
b3a7f5f38b
commit
58018a086c
|
@ -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…
Reference in New Issue