From 1da9b57ca5f6a215f47b23d01e9215da6b2c2df9 Mon Sep 17 00:00:00 2001 From: "Brint E. Kriebel" Date: Fri, 28 May 2021 17:40:58 -0700 Subject: [PATCH] config: Set an applicationName for statistics Jitsi server owners may want to enable statistics on their servers. Set an applicationName so stats can be correctly listed. --- src/JitsiClient.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/JitsiClient.js b/src/JitsiClient.js index ec845c2..f2952af 100644 --- a/src/JitsiClient.js +++ b/src/JitsiClient.js @@ -822,10 +822,8 @@ export default class JitsiClient { delete config.startAudioMuted; delete config.startVideoMuted; - // Remove callStats settings to avoid errors - delete config.callStatsID; - delete config.callStatsSecret; - delete config.callStatsCustomScriptUrl; + // Set an application name in case statistics are enabled + config.applicationName = `FVTT-${game.data.version} ${MODULE_NAME}-${game.modules.get(MODULE_NAME).data.version}`; } sendJoinMessage() {