Skip to content

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

fix: Fixes password authentication on prejoin. Fixes #13721.

damenchof6665d79c038
diff --git a/react/features/prejoin/actions.web.ts b/react/features/prejoin/actions.web.ts
index 59a7c575fc..517ac67f21 100644
--- a/react/features/prejoin/actions.web.ts
+++ b/react/features/prejoin/actions.web.ts
@@ -259,6 +259,9 @@ export function joinConference(options?: Object, ignoreJoiningInProgress = false
const jitsiTracks = localTracks.map((t: any) => t.jitsiTrack);
APP.conference.startConference(jitsiTracks).catch(logger.error);
+ })
+ .catch(() => {
+ // There is nothing to do here. This is handled and dispatched in base/connection/actions.
});
};
}
diff --git a/react/features/prejoin/middleware.web.ts b/react/features/prejoin/middleware.web.ts
index 92e2cbfe17..32369faeda 100644
--- a/react/features/prejoin/middleware.web.ts
+++ b/react/features/prejoin/middleware.web.ts
@@ -2,6 +2,7 @@ import { AnyAction } from 'redux';
import { IStore } from '../app/types';
import { CONFERENCE_FAILED, CONFERENCE_JOINED } from '../base/conference/actionTypes';
+import { CONNECTION_FAILED } from '../base/connection/actionTypes';
import { SET_AUDIO_MUTED, SET_VIDEO_MUTED } from '../base/media/actionTypes';
import MiddlewareRegistry from '../base/redux/MiddlewareRegistry';
import { updateSettings } from '../base/settings/actions';
@@ -67,6 +68,7 @@ MiddlewareRegistry.register(store => next => async action => {
break;
}
case CONFERENCE_FAILED:
+ case CONNECTION_FAILED:
store.dispatch(setJoiningInProgress(false));
break;
case CONFERENCE_JOINED: