Skip to content

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

ref(conference): web and native exercise same redux flow for kicked out

Leonard Kim3195a449ca0b
diff --git a/conference.js b/conference.js
index 8f04e17d78..dc1c6b4cd8 100644
--- a/conference.js
+++ b/conference.js
@@ -43,6 +43,7 @@ import {
conferenceWillJoin,
conferenceWillLeave,
dataChannelOpened,
+ kickedOut,
lockStateChanged,
onStartMutedPolicyChanged,
p2pStatusChanged,
@@ -104,7 +105,6 @@ import {
getLocationContextRoot,
getJitsiMeetGlobalNS
} from './react/features/base/util';
-import { notifyKickedOut } from './react/features/conference';
import { addMessage } from './react/features/chat';
import { showDesktopPicker } from './react/features/desktop-picker';
import { appendSuffix } from './react/features/display-name';
@@ -1962,7 +1962,7 @@ export default {
room.on(JitsiConferenceEvents.KICKED, participant => {
APP.UI.hideStats();
- APP.store.dispatch(notifyKickedOut(participant));
+ APP.store.dispatch(kickedOut(room, participant));
// FIXME close
});