From 0b07fb6a495d38cf5baf70017524d5b48974df4a Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 17 Jul 2023 15:40:46 -0300 Subject: [PATCH] fix: fixed bug that saved contacts from groups came without number in chatwoot --- CHANGELOG.md | 1 + src/whatsapp/services/chatwoot.service.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a51323a0..b805bb1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ * Adjusts in Dockerfile * Adjusts in returns in endpoints chatwoot and webhook * Fixed ghost mentions in send text message +* Fixed bug that saved contacts from groups came without number in chatwoot # 1.2.2 (2023-07-15 09:36) diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index 2493e334..ff3e069f 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -437,7 +437,7 @@ export class ChatwootService { instance, body.key.participant.split('@')[0], filterInbox.id, - isGroup, + false, body.pushName, picture_url.profilePictureUrl || null, );