Skip to content

Commit

Permalink
Prevent starting Omni-Queue if Omnichannel is disabled (#23396)
Browse files Browse the repository at this point in the history
  • Loading branch information
murtaza98 authored and sampaiodiego committed Oct 14, 2021
1 parent accdbc6 commit f023a52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit f023a52

Please sign in to comment.