fix(deeplinking): skip deeplinking within electron (#14284)

otherwise we are stuck in a loop inside the desktop app

Signed-off-by: Christoph Settgast <csett86_git@quicksands.de>
This commit is contained in:
Christoph Settgast
2024-01-27 16:34:33 +01:00
committed by GitHub
parent 8afdebca08
commit 0102efd2d0

View File

@@ -1,5 +1,6 @@
import { IReduxState } from '../app/types';
import { isMobileBrowser } from '../base/environment/utils';
import { browser } from '../base/lib-jitsi-meet';
import Platform from '../base/react/Platform';
import { URI_PROTOCOL_PATTERN } from '../base/util/uri';
import { isVpaasMeeting } from '../jaas/functions';
@@ -63,6 +64,7 @@ export function getDeepLinkingPage(state: IReduxState) {
if (launchInWeb
|| !room
|| state['features/base/config'].deeplinking?.disabled
|| browser.isElectron()
|| (isVpaasMeeting(state) && (!appScheme || appScheme === 'com.8x8.meet'))) {
return Promise.resolve();
}