Skip to content

Commit

Permalink
Fix external queue not using pre-selected agent
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Feb 16, 2018
1 parent 523b379 commit d6ce94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rocketchat-livechat/server/lib/QueueMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ RocketChat.QueueMethods = {

return room;
},
'External'(guest, message, roomInfo) {
return this['Least_Amount'](guest, message, roomInfo); // eslint-disable-line
'External'(guest, message, roomInfo, agent) {
return this['Least_Amount'](guest, message, roomInfo, agent); // eslint-disable-line
}
};

0 comments on commit d6ce94a

Please sign in to comment.