diff --git a/react/features/lobby/reducer.ts b/react/features/lobby/reducer.ts index 4d79bf27c19e..fa5c277757d3 100644 --- a/react/features/lobby/reducer.ts +++ b/react/features/lobby/reducer.ts @@ -58,12 +58,14 @@ ReducerRegistry.register('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: