Преглед на файлове

fix(vpaas) enable deeplinking

master
Alex Bumbu преди 4 години
родител
ревизия
e2a4d0d42d
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5
    1
      react/features/deep-linking/functions.js

+ 5
- 1
react/features/deep-linking/functions.js Целия файл

52
 export function getDeepLinkingPage(state) {
52
 export function getDeepLinkingPage(state) {
53
     const { room } = state['features/base/conference'];
53
     const { room } = state['features/base/conference'];
54
     const { launchInWeb } = state['features/deep-linking'];
54
     const { launchInWeb } = state['features/deep-linking'];
55
+    const appScheme = typeof interfaceConfig !== 'undefined' && interfaceConfig.APP_SCHEME;
55
 
56
 
56
     // Show only if we are about to join a conference.
57
     // Show only if we are about to join a conference.
57
-    if (launchInWeb || !room || state['features/base/config'].disableDeepLinking || isVpaasMeeting(state)) {
58
+    if (launchInWeb
59
+            || !room
60
+            || state['features/base/config'].disableDeepLinking
61
+            || (isVpaasMeeting(state) && !appScheme)) {
58
         return Promise.resolve();
62
         return Promise.resolve();
59
     }
63
     }
60
 
64
 

Loading…
Отказ
Запис