Merge branch 'release/1.2.1-2'

This commit is contained in:
Davidson Gomes 2023-07-14 19:03:51 -03:00
commit faa9b83b09

View File

@ -425,7 +425,7 @@ export class ChatwootService {
if (findParticipant) { if (findParticipant) {
await this.updateContact(instance, findParticipant.id, { await this.updateContact(instance, findParticipant.id, {
name: nameContact, name: body.pushName,
avatar_url: picture_url.profilePictureUrl || null, avatar_url: picture_url.profilePictureUrl || null,
}); });
} else { } else {
@ -434,7 +434,7 @@ export class ChatwootService {
body.key.participant.split('@')[0], body.key.participant.split('@')[0],
filterInbox.id, filterInbox.id,
isGroup, isGroup,
nameContact, body.pushName,
picture_url.profilePictureUrl || null, picture_url.profilePictureUrl || null,
); );
} }