mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
✨ In the transfer modal also have the option to transfer to another whatsapp
This commit is contained in:
@@ -33,6 +33,10 @@ const UpdateTicketService = async ({
|
||||
const ticket = await ShowTicketService(ticketId);
|
||||
await SetTicketMessagesAsRead(ticket);
|
||||
|
||||
if(whatsappId && ticket.whatsappId !== whatsappId) {
|
||||
await CheckContactOpenTickets(ticket.contactId, whatsappId);
|
||||
}
|
||||
|
||||
const oldStatus = ticket.status;
|
||||
const oldUserId = ticket.user?.id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user