mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 04:09:26 +00:00
Merge branch 'master' into queue
This commit is contained in:
@@ -239,11 +239,13 @@ const handleMessage = async (
|
||||
groupContact = await verifyContact(msgGroupContact);
|
||||
}
|
||||
|
||||
const unreadMessages = msg.fromMe ? 0 : chat.unreadCount;
|
||||
|
||||
const contact = await verifyContact(msgContact);
|
||||
const ticket = await FindOrCreateTicketService(
|
||||
contact,
|
||||
wbot.id!,
|
||||
chat.unreadCount,
|
||||
unreadMessages,
|
||||
groupContact
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user