fix(vpaas) enable deeplinking

This commit is contained in:
Alex Bumbu 2021-06-09 15:41:48 +03:00
parent 06110d1dfb
commit e2a4d0d42d
1 changed files with 5 additions and 1 deletions

View File

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