diff --git a/ee/app/livechat-enterprise/server/lib/LivechatEnterprise.js b/ee/app/livechat-enterprise/server/lib/LivechatEnterprise.js index 2662bf4efe2e..bca34b743ed4 100644 --- a/ee/app/livechat-enterprise/server/lib/LivechatEnterprise.js +++ b/ee/app/livechat-enterprise/server/lib/LivechatEnterprise.js @@ -267,7 +267,7 @@ function shouldQueueStart() { : 'Stopping' } queue`); - routingSupportsAutoAssign ? queueWorker.start() : queueWorker.stop(); + routingSupportsAutoAssign && settings.get('Livechat_enabled') ? queueWorker.start() : queueWorker.stop(); } settings.get('Livechat_enabled', (_, value) => {