Merge pull request #9371 from alexbumbu/fix_deeplinking

fix(vpaas) enable deeplinking
This commit is contained in:
Avram Tudor 2021-06-10 11:33:55 +03:00 committed by GitHub
commit 1d4e40b49f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -52,9 +52,13 @@ export function generateDeepLinkingURL() {
export function getDeepLinkingPage(state) {
const { room } = state['features/base/conference'];
const { launchInWeb } = state['features/deep-linking'];
const appScheme = typeof interfaceConfig !== 'undefined' && interfaceConfig.APP_SCHEME;
// Show only if we are about to join a conference.
if (launchInWeb || !room || state['features/base/config'].disableDeepLinking || isVpaasMeeting(state)) {
if (launchInWeb
|| !room
|| state['features/base/config'].disableDeepLinking
|| (isVpaasMeeting(state) && !appScheme)) {
return Promise.resolve();
}