ref(conference): web and native exercise same redux flow for kicked out
This commit is contained in:
parent
d7483f07e3
commit
3195a449ca
|
@ -43,6 +43,7 @@ import {
|
||||||
conferenceWillJoin,
|
conferenceWillJoin,
|
||||||
conferenceWillLeave,
|
conferenceWillLeave,
|
||||||
dataChannelOpened,
|
dataChannelOpened,
|
||||||
|
kickedOut,
|
||||||
lockStateChanged,
|
lockStateChanged,
|
||||||
onStartMutedPolicyChanged,
|
onStartMutedPolicyChanged,
|
||||||
p2pStatusChanged,
|
p2pStatusChanged,
|
||||||
|
@ -104,7 +105,6 @@ import {
|
||||||
getLocationContextRoot,
|
getLocationContextRoot,
|
||||||
getJitsiMeetGlobalNS
|
getJitsiMeetGlobalNS
|
||||||
} from './react/features/base/util';
|
} from './react/features/base/util';
|
||||||
import { notifyKickedOut } from './react/features/conference';
|
|
||||||
import { addMessage } from './react/features/chat';
|
import { addMessage } from './react/features/chat';
|
||||||
import { showDesktopPicker } from './react/features/desktop-picker';
|
import { showDesktopPicker } from './react/features/desktop-picker';
|
||||||
import { appendSuffix } from './react/features/display-name';
|
import { appendSuffix } from './react/features/display-name';
|
||||||
|
@ -1962,7 +1962,7 @@ export default {
|
||||||
|
|
||||||
room.on(JitsiConferenceEvents.KICKED, participant => {
|
room.on(JitsiConferenceEvents.KICKED, participant => {
|
||||||
APP.UI.hideStats();
|
APP.UI.hideStats();
|
||||||
APP.store.dispatch(notifyKickedOut(participant));
|
APP.store.dispatch(kickedOut(room, participant));
|
||||||
|
|
||||||
// FIXME close
|
// FIXME close
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue