Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jul 10, 2024
1 parent 9d05906 commit 705cbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/livechat/server/lib/QueueManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const QueueManager = new (class {
throw new Meteor.Error('no-agent-online', 'Sorry, no online agents');
}

if (guest.department && !department) {
if (!defaultAgent && guest.department && !department) {
throw new Meteor.Error('no-agent-online', 'Sorry, no online agents');
}

Expand Down

0 comments on commit 705cbca

Please sign in to comment.