fix(rn,navigation) fix navigating back to the welcome page

The CONFERENCE_WILL_LEAVE reducer in base/conference wipes the state so
we cannot rely on the old room value.

We may want to revisit this in the future.
This commit is contained in:
Saúl Ibarra Corretgé 2022-01-25 16:08:53 +01:00 committed by Saúl Ibarra Corretgé
parent 55aca37eb6
commit 95d4c8ffb8
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function _setRoom(store, next, action) {
if (!oldRoom && newRoom) { if (!oldRoom && newRoom) {
navigateRoot(screen.conference.root); navigateRoot(screen.conference.root);
} else if (oldRoom && !newRoom) { } else if (!newRoom) {
navigateRoot(screen.root); navigateRoot(screen.root);
} }