fix: Clear up knocking state on error.

Fixes a case where participant is not entering lobby when trying the second time after being rejected.
This commit is contained in:
damencho
2024-04-04 16:25:22 -05:00
committed by Дамян Минков
parent 263bb7bcd0
commit 721bb4e4ba

View File

@@ -60,7 +60,10 @@ ReducerRegistry.register<ILobbyState>('features/lobby', (state = DEFAULT_STATE,
};
}
return state;
return {
...state,
knocking: false
};
}
case CONFERENCE_JOINED:
case CONFERENCE_LEFT: