Prevent starting Omni-Queue if Omnichannel is disabled (#23396)

pull/23460/head
Murtaza Patrawala 4 years ago committed by Diego Sampaio
parent accdbc6b46
commit f023a52549
No known key found for this signature in database
GPG Key ID: E060152B30502562
  1. 2
      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) => {

Loading…
Cancel
Save