analytics: don't enable callstats when disableThirdPartyRequests is set
This commit is contained in:
parent
1bbb937d9d
commit
4fd5dc0ee0
|
@ -1288,6 +1288,13 @@ export default {
|
|||
options.confID = `${locationURL.host}${locationURL.pathname}`;
|
||||
options.createVADProcessor = createRnnoiseProcessorPromise;
|
||||
|
||||
// Disable CallStats, if requessted.
|
||||
if (options.disableThirdPartyRequests) {
|
||||
delete options.callStatsID;
|
||||
delete options.callStatsSecret;
|
||||
delete options.getWiFiStatsMethod;
|
||||
}
|
||||
|
||||
return options;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue