mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
Fix bug farewellMessage
This commit is contained in:
@@ -249,7 +249,7 @@ const handleMessage = async (
|
||||
|
||||
const contact = await verifyContact(msgContact);
|
||||
|
||||
if(unreadMessages === 0 && whatsapp.farewellMessage === msg.body) return;
|
||||
if ( unreadMessages === 0 && whatsapp.farewellMessage && whatsapp.farewellMessage === msg.body) return;
|
||||
|
||||
const ticket = await FindOrCreateTicketService(
|
||||
contact,
|
||||
|
||||
Reference in New Issue
Block a user