From 8d68ec5489239fcad13f74967902a6e66044ca6f Mon Sep 17 00:00:00 2001 From: Diego Sampaio Date: Mon, 18 Sep 2023 09:53:20 -0300 Subject: [PATCH] dont check troubleshooting setting --- ee/packages/presence/src/Presence.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ee/packages/presence/src/Presence.ts b/ee/packages/presence/src/Presence.ts index 8224b13709b6..238cd445def4 100755 --- a/ee/packages/presence/src/Presence.ts +++ b/ee/packages/presence/src/Presence.ts @@ -43,12 +43,9 @@ export class Presence extends ServiceClass implements IPresence { if (module === 'scalability') { this.hasLicense = valid; + // broadcast should always be enabled if license is active (unless the troubleshoot setting is on) if (!this.broadcastEnabled && valid) { - // broadcast should always be enabled if license is active (unless the troubleshoot setting is on) - const presenceBroadcastDisabled = await Settings.findOneById('Troubleshoot_Disable_Presence_Broadcast'); - if (presenceBroadcastDisabled?.value === false) { - await this.toggleBroadcast(true); - } + await this.toggleBroadcast(true); } } });