Sfoglia il codice sorgente

feat(deep-linking): allow disabling through override

j8
Leonard Kim 6 anni fa
parent
commit
0097360396

+ 4
- 0
config.js Vedi File

@@ -418,6 +418,10 @@ var config = {
418 418
     // use only.
419 419
     // _desktopSharingSourceDevice: 'sample-id-or-label'
420 420
 
421
+    // If true, any checks to handoff to another application will be prevented
422
+    // and instead the app will continue to display in the current browser.
423
+    // disableDeepLinking: false
424
+
421 425
     // A property to disable the right click context menu for localVideo
422 426
     // the menu has option to flip the locally seen video for local presentations
423 427
     // disableLocalVideoFlip: false

+ 1
- 0
react/features/base/config/functions.any.js Vedi File

@@ -91,6 +91,7 @@ const WHITELISTED_KEYS = [
91 91
     'disableAGC',
92 92
     'disableAP',
93 93
     'disableAudioLevels',
94
+    'disableDeepLinking',
94 95
     'disableH264',
95 96
     'disableHPF',
96 97
     'disableNS',

+ 1
- 1
react/features/deep-linking/functions.js Vedi File

@@ -51,7 +51,7 @@ export function getDeepLinkingPage(state) {
51 51
     const { room } = state['features/base/conference'];
52 52
 
53 53
     // Show only if we are about to join a conference.
54
-    if (!room) {
54
+    if (!room || state['features/base/config'].disableDeepLinking) {
55 55
         return Promise.resolve();
56 56
     }
57 57
 

Loading…
Annulla
Salva