Skip to content

Commit 0c20da2

Browse files
committed
Merge branch 'release/1.2.1-2'
2 parents ed60fd2 + 72d2a56 commit 0c20da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/whatsapp/services/chatwoot.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export class ChatwootService {
425425

426426
if (findParticipant) {
427427
await this.updateContact(instance, findParticipant.id, {
428-
name: nameContact,
428+
name: body.pushName,
429429
avatar_url: picture_url.profilePictureUrl || null,
430430
});
431431
} else {
@@ -434,7 +434,7 @@ export class ChatwootService {
434434
body.key.participant.split('@')[0],
435435
filterInbox.id,
436436
isGroup,
437-
nameContact,
437+
body.pushName,
438438
picture_url.profilePictureUrl || null,
439439
);
440440
}

0 commit comments

Comments
 (0)