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
feat(prejoin): fix join meeting from external/calendar link while in another meeting (#15310)
Calinteodor63e69c224d13
diff --git a/react/features/prejoin/actionTypes.ts b/react/features/prejoin/actionTypes.tsindex 0ade306e85..2bf7a967be 100644--- a/react/features/prejoin/actionTypes.ts+++ b/react/features/prejoin/actionTypes.ts@@ -39,16 +39,6 @@ export const SET_DIALOUT_STATUS = 'SET_DIALOUT_STATUS';*/export const SET_JOIN_BY_PHONE_DIALOG_VISIBLITY = 'SET_JOIN_BY_PHONE_DIALOG_VISIBLITY';-/**- * Action type to disable the audio while on prejoin page.- */-export const SET_PREJOIN_AUDIO_DISABLED = 'SET_PREJOIN_AUDIO_DISABLED';--/**- * Action type to mute/unmute the audio while on prejoin page.- */-export const SET_PREJOIN_AUDIO_MUTED = 'SET_PREJOIN_AUDIO_MUTED';-/*** Action type to set the errors while creating the prejoin streams.*/diff --git a/react/features/prejoin/components/native/Prejoin.tsx b/react/features/prejoin/components/native/Prejoin.tsxindex bc71101e09..31945d5dda 100644--- a/react/features/prejoin/components/native/Prejoin.tsx+++ b/react/features/prejoin/components/native/Prejoin.tsx@@ -70,8 +70,6 @@ const Prejoin: React.FC<IPrejoinProps> = ({ navigation }: IPrejoinProps) => {const showDisplayNameInput = useMemo(() => isDisplayNameVisible && (displayName || !isDisplayNameReadonly),[ displayName, isDisplayNameReadonly, isDisplayNameVisible ]);- const [ isJoining, setIsJoining ]- = useState(false);const onChangeDisplayName = useCallback(event => {const fieldValue = getFieldValue(event);@@ -82,7 +80,6 @@ const Prejoin: React.FC<IPrejoinProps> = ({ navigation }: IPrejoinProps) => {}, [ displayName ]);const onJoin = useCallback(() => {- setIsJoining(true);dispatch(connect());navigateRoot(screen.conference.root);}, [ dispatch ]);@@ -212,14 +209,14 @@ const Prejoin: React.FC<IPrejoinProps> = ({ navigation }: IPrejoinProps) => {accessibilityLabel = 'prejoin.joinMeeting'disabled = { showDisplayNameError }labelKey = 'prejoin.joinMeeting'- onClick = { isJoining ? undefined : maybeJoin }+ onClick = { maybeJoin }style = { styles.joinButton }type = { PRIMARY } /><ButtonaccessibilityLabel = 'prejoin.joinMeetingInLowBandwidthMode'disabled = { showDisplayNameError }labelKey = 'prejoin.joinMeetingInLowBandwidthMode'- onClick = { isJoining ? undefined : onJoinLowBandwidth }+ onClick = { onJoinLowBandwidth }style = { styles.joinButton }type = { TERTIARY } /></View>