mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-21 13:19:21 +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);
|
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);
|
await verifyQueue(wbot, msg, ticket, contact);
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user