Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(lobby): use conferenceLeft instead of conferenceWilLeave
Calinteodor91481aa24541
diff --git a/react/features/base/connection/actions.native.ts b/react/features/base/connection/actions.native.tsindex 65a2fcad63..99ddbc5a1b 100644--- a/react/features/base/connection/actions.native.ts+++ b/react/features/base/connection/actions.native.ts@@ -4,7 +4,7 @@ import { getCustomerDetails } from '../../jaas/actions.any';import { getJaasJWT, isVpaasMeeting } from '../../jaas/functions';import { navigateRoot } from '../../mobile/navigation/rootNavigationContainerRef';import { screen } from '../../mobile/navigation/routes';-import { conferenceWillLeave } from '../conference/actions.native';+import { conferenceLeft } from '../conference/actions.native';import { setJWT } from '../jwt/actions';import { JitsiConnectionErrors } from '../lib-jitsi-meet';@@ -60,7 +60,7 @@ export function connect(id?: string, password?: string) {*/export function hangup(_requestFeedback = false) {return (dispatch: IStore['dispatch']) => {- dispatch(conferenceWillLeave());dispatch(appNavigate(undefined));+ dispatch(conferenceLeft());};}diff --git a/react/features/lobby/reducer.ts b/react/features/lobby/reducer.tsindex 24fe95dfd2..7cabb6a118 100644--- a/react/features/lobby/reducer.ts+++ b/react/features/lobby/reducer.ts@@ -2,7 +2,6 @@ import {CONFERENCE_FAILED,CONFERENCE_JOINED,CONFERENCE_LEFT,- CONFERENCE_WILL_LEAVE,SET_PASSWORD} from '../base/conference/actionTypes';import { JitsiConferenceErrors } from '../base/lib-jitsi-meet';@@ -70,7 +69,6 @@ ReducerRegistry.register<ILobbyState>('features/lobby', (state = DEFAULT_STATE,}case CONFERENCE_JOINED:case CONFERENCE_LEFT:- case CONFERENCE_WILL_LEAVE:return {...state,isDisplayNameRequiredError: false,diff --git a/react/features/prejoin/components/native/Prejoin.tsx b/react/features/prejoin/components/native/Prejoin.tsxindex b6fdb40186..b4f4bcb4d1 100644--- a/react/features/prejoin/components/native/Prejoin.tsx+++ b/react/features/prejoin/components/native/Prejoin.tsx@@ -63,7 +63,6 @@ const Prejoin: React.FC<IPrejoinProps> = ({ navigation }: IPrejoinProps) => {const roomName = useSelector((state: IReduxState) => getConferenceName(state));const roomNameEnabled = useSelector((state: IReduxState) => isRoomNameEnabled(state));const { showHangUp: showHangUpLobby = true } = useSelector((state: IReduxState) => getLobbyConfig(state));- const { showHangUp: showHangUpPrejoin = true } = useSelector((state: IReduxState) => state['features/base/config'].prejoinConfig || {});const { knocking } = useSelector((state: IReduxState) => state['features/lobby']);const participantName = localParticipant?.name;const [ displayName, setDisplayName ]@@ -187,7 +186,7 @@ const Prejoin: React.FC<IPrejoinProps> = ({ navigation }: IPrejoinProps) => {<VideoMuteButtonstyles = { styles.buttonStylesBorderless } />{- (knocking ? showHangUpLobby : showHangUpPrejoin)+ knocking && showHangUpLobby&& <HangupButtonstyles = { styles.buttonStylesBorderless } />}