feat(deep-linking): allow disabling through override
This commit is contained in:
parent
b5cef05941
commit
0097360396
|
@ -418,6 +418,10 @@ var config = {
|
|||
// use only.
|
||||
// _desktopSharingSourceDevice: 'sample-id-or-label'
|
||||
|
||||
// If true, any checks to handoff to another application will be prevented
|
||||
// and instead the app will continue to display in the current browser.
|
||||
// disableDeepLinking: false
|
||||
|
||||
// A property to disable the right click context menu for localVideo
|
||||
// the menu has option to flip the locally seen video for local presentations
|
||||
// disableLocalVideoFlip: false
|
||||
|
|
|
@ -91,6 +91,7 @@ const WHITELISTED_KEYS = [
|
|||
'disableAGC',
|
||||
'disableAP',
|
||||
'disableAudioLevels',
|
||||
'disableDeepLinking',
|
||||
'disableH264',
|
||||
'disableHPF',
|
||||
'disableNS',
|
||||
|
|
|
@ -51,7 +51,7 @@ export function getDeepLinkingPage(state) {
|
|||
const { room } = state['features/base/conference'];
|
||||
|
||||
// Show only if we are about to join a conference.
|
||||
if (!room) {
|
||||
if (!room || state['features/base/config'].disableDeepLinking) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue