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

This commit is contained in:
Leonard Kim 2019-06-26 14:53:48 -07:00 committed by virtuacoplenny
parent d7483f07e3
commit 3195a449ca
1 changed files with 2 additions and 2 deletions

View File

@ -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
});