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(lobby): Fixes wrong password going back to knocking.

damencho1401eb245e70
diff --git a/react/features/lobby/reducer.ts b/react/features/lobby/reducer.ts
index 4d79bf27c1..fa5c277757 100644
--- a/react/features/lobby/reducer.ts
+++ b/react/features/lobby/reducer.ts
@@ -58,12 +58,14 @@ ReducerRegistry.register<ILobbyState>('features/lobby', (state = DEFAULT_STATE,
...state,
isDisplayNameRequiredError: true
};
+ } else if (action.error.name === JitsiConferenceErrors.CONFERENCE_ACCESS_DENIED) {
+ return {
+ ...state,
+ knocking: false
+ };
}
- return {
- ...state,
- knocking: false
- };
+ return state;
}
case CONFERENCE_JOINED:
case CONFERENCE_LEFT: