feat(vpaas) disable deeplinking page

This commit is contained in:
Tudor-Ovidiu Avram 2020-09-03 14:45:56 +03:00 committed by Hristo Terezov
parent e8c44c10dd
commit 7ff41217ac
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
import { isMobileBrowser } from '../base/environment/utils'; import { isMobileBrowser } from '../base/environment/utils';
import { Platform } from '../base/react'; import { Platform } from '../base/react';
import { URI_PROTOCOL_PATTERN } from '../base/util'; import { URI_PROTOCOL_PATTERN } from '../base/util';
import { isVpaasMeeting } from '../billing-counter/functions';
import { import {
DeepLinkingDesktopPage, DeepLinkingDesktopPage,
@ -53,7 +54,7 @@ export function getDeepLinkingPage(state) {
const { launchInWeb } = state['features/deep-linking']; const { launchInWeb } = state['features/deep-linking'];
// 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) { if (launchInWeb || !room || state['features/base/config'].disableDeepLinking || isVpaasMeeting(state)) {
return Promise.resolve(); return Promise.resolve();
} }