|
@@ -162,6 +162,8 @@ export default function Statistics(xmpp, options) {
|
162
|
162
|
// requests to any third parties.
|
163
|
163
|
&& (Statistics.disableThirdPartyRequests !== true);
|
164
|
164
|
if (this.callStatsIntegrationEnabled) {
|
|
165
|
+ this.callStatsApplicationLogsDisabled
|
|
166
|
+ = this.options.callStatsApplicationLogsDisabled;
|
165
|
167
|
if (browser.isReactNative()) {
|
166
|
168
|
_initCallStatsBackend(this.options);
|
167
|
169
|
} else {
|
|
@@ -668,6 +670,10 @@ Statistics.sendLog = function(m) {
|
668
|
670
|
// unique conference ID rather than selecting the first one.
|
669
|
671
|
// We don't have such use case though, so leaving as is for now.
|
670
|
672
|
for (const stats of Statistics.instances) {
|
|
673
|
+ if (stats.callStatsApplicationLogsDisabled) {
|
|
674
|
+ return;
|
|
675
|
+ }
|
|
676
|
+
|
671
|
677
|
if (stats.callsStatsInstances.size) {
|
672
|
678
|
globalSubSet.add(stats.callsStatsInstances.values().next().value);
|
673
|
679
|
}
|