mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-22 13:40:10 +00:00
improvement: stop auto reply if ticket is assigned to user
This commit is contained in:
@@ -253,7 +253,7 @@ const handleMessage = async (
|
||||
await verifyMessage(msg, ticket, contact);
|
||||
}
|
||||
|
||||
if (!ticket.queue && !chat.isGroup && !msg.fromMe) {
|
||||
if (!ticket.queue && !chat.isGroup && !msg.fromMe && !ticket.userId) {
|
||||
await verifyQueue(wbot, msg, ticket, contact);
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user