Procházet zdrojové kódy

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
master
Christoph Settgast před 4 roky
rodič
revize
085b07efcd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      react/features/base/conference/actions.js

+ 1
- 1
react/features/base/conference/actions.js Zobrazit soubor

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

Načítá se…
Zrušit
Uložit