Skip to content

Commit

Permalink
fix(deeplinking): allow partial config of deeplinking and defaults fo…
Browse files Browse the repository at this point in the history
…r the remaining (#14285)
  • Loading branch information
csett86 authored Jan 28, 2024
1 parent 0102efd commit 93d0ee7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions react/features/base/config/functions.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ export function areAudioLevelsEnabled(state: IReduxState): boolean {
* @returns {void}
*/
export function _setDeeplinkingDefaults(deeplinking: IDeeplinkingConfig) {
const {
desktop = {} as IDeeplinkingDesktopConfig,
android = {} as IDeeplinkingMobileConfig,
ios = {} as IDeeplinkingMobileConfig
} = deeplinking;
deeplinking.desktop = deeplinking.desktop || {} as IDeeplinkingDesktopConfig;
deeplinking.android = deeplinking.android || {} as IDeeplinkingMobileConfig;
deeplinking.ios = deeplinking.ios || {} as IDeeplinkingMobileConfig;

const { android, desktop, ios } = deeplinking;

desktop.appName = desktop.appName || 'Jitsi Meet';
desktop.appScheme = desktop.appScheme || 'jitsi-meet';
Expand Down

0 comments on commit 93d0ee7

Please sign in to comment.