Merge pull request #9371 from alexbumbu/fix_deeplinking
fix(vpaas) enable deeplinking
This commit is contained in:
commit
1d4e40b49f
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue