From 9e15df8e3d8deb64166d686f73b1a144d9f6b3ba Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Wed, 5 Feb 2025 18:34:23 -0600 Subject: [PATCH] fix(analytics): remove overwritesWatchRTC* props --- react/features/analytics/functions.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/react/features/analytics/functions.ts b/react/features/analytics/functions.ts index 5551103e9f..7ed8fc9bd6 100644 --- a/react/features/analytics/functions.ts +++ b/react/features/analytics/functions.ts @@ -219,9 +219,6 @@ export function initAnalytics(store: IStore, handlers: Array): boolean { overwritesPrejoinConfigICEUrl?: boolean; overwritesSalesforceUrl?: boolean; overwritesSupportUrl?: boolean; - overwritesWatchRTCConfigParams?: boolean; - overwritesWatchRTCProxyUrl?: boolean; - overwritesWatchRTCWSUrl?: boolean; server?: string; tenant?: string; wasLobbyVisible?: boolean; @@ -272,14 +269,6 @@ export function initAnalytics(store: IStore, handlers: Array): boolean { permanentProperties.overwritesHosts = 'config.hosts' in params || Boolean(hostsProps.find(p => `config.hosts.${p}` in params || (typeof hosts === 'object' && p in hosts))); - permanentProperties.overwritesWatchRTCConfigParams = 'config.watchRTCConfigParams' in params; - const watchRTCConfigParams = params['config.watchRTCConfigParams'] ?? {}; - - permanentProperties.overwritesWatchRTCProxyUrl = ('config.watchRTCConfigParams.proxyUrl' in params) - || (typeof watchRTCConfigParams === 'object' && 'proxyUrl' in watchRTCConfigParams); - permanentProperties.overwritesWatchRTCWSUrl = ('config.watchRTCConfigParams.wsUrl' in params) - || (typeof watchRTCConfigParams === 'object' && 'wsUrl' in watchRTCConfigParams); - const prejoinConfig = params['config.prejoinConfig'] ?? {}; permanentProperties.overwritesPrejoinConfigICEUrl = ('config.prejoinConfig.preCallTestICEUrl' in params)