From 72d2a563f37488d19d641c5c5cb1c7754ff495d4 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Fri, 14 Jul 2023 19:03:41 -0300 Subject: [PATCH] fix: change Baileys fork --- src/whatsapp/services/chatwoot.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index 74c47d0c..3f23cfb9 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -425,7 +425,7 @@ export class ChatwootService { if (findParticipant) { await this.updateContact(instance, findParticipant.id, { - name: nameContact, + name: body.pushName, avatar_url: picture_url.profilePictureUrl || null, }); } else { @@ -434,7 +434,7 @@ export class ChatwootService { body.key.participant.split('@')[0], filterInbox.id, isGroup, - nameContact, + body.pushName, picture_url.profilePictureUrl || null, ); }