fix(rn) join conference if started by moderator

Issue was that APP is not defined at this place on mobile,
thus this raising ReferenceError which caused the waitForOwner to break

Closes: #10211
This commit is contained in:
Christoph Settgast 2021-12-08 22:25:18 +01:00 committed by Дамян Минков
parent 60dcac96a6
commit 085b07efcd
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ export function checkIfCanJoin() {
const { authRequired, password }
= getState()['features/base/conference'];
const replaceParticipant = getReplaceParticipant(APP.store.getState());
const replaceParticipant = getReplaceParticipant(getState());
authRequired && dispatch(_conferenceWillJoin(authRequired));
authRequired && authRequired.join(password, replaceParticipant);