We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed60fd2 + 72d2a56 commit 0c20da2Copy full SHA for 0c20da2
1 file changed
src/whatsapp/services/chatwoot.service.ts
@@ -425,7 +425,7 @@ export class ChatwootService {
425
426
if (findParticipant) {
427
await this.updateContact(instance, findParticipant.id, {
428
- name: nameContact,
+ name: body.pushName,
429
avatar_url: picture_url.profilePictureUrl || null,
430
});
431
} else {
@@ -434,7 +434,7 @@ export class ChatwootService {
434
body.key.participant.split('@')[0],
435
filterInbox.id,
436
isGroup,
437
- nameContact,
+ body.pushName,
438
picture_url.profilePictureUrl || null,
439
);
440
}
0 commit comments