Skip to content

Commit

Permalink
fix(analytics): remove overwritesWatchRTC* props
Browse files Browse the repository at this point in the history
  • Loading branch information
hristoterezov committed Feb 6, 2025
1 parent 83f83c1 commit 9e15df8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions react/features/analytics/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,6 @@ export function initAnalytics(store: IStore, handlers: Array<Object>): boolean {
overwritesPrejoinConfigICEUrl?: boolean;
overwritesSalesforceUrl?: boolean;
overwritesSupportUrl?: boolean;
overwritesWatchRTCConfigParams?: boolean;
overwritesWatchRTCProxyUrl?: boolean;
overwritesWatchRTCWSUrl?: boolean;
server?: string;
tenant?: string;
wasLobbyVisible?: boolean;
Expand Down Expand Up @@ -272,14 +269,6 @@ export function initAnalytics(store: IStore, handlers: Array<Object>): 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)
Expand Down

0 comments on commit 9e15df8

Please sign in to comment.