From 37397c7a69d22f986208fab3fd78549be948f0c5 Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Wed, 5 Jul 2023 20:16:39 -0300 Subject: [PATCH] change changelog file --- src/whatsapp/services/whatsapp.service.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index 5b9092eb..d54520ca 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -1425,15 +1425,15 @@ export class WAStartupService { const message: proto.IMessage = {}; const vcard = (contact: ContactMessage) => { - const result = + return ( 'BEGIN:VCARD\n' + 'VERSION:3.0\n' + `FN:${contact.fullName}\n` + `ORG:${contact.organization};\n` + - `TEL;type=CELL;type=VOICE;waid=${contact.wuid}:${contact.wuid}\n` + - 'END:VCARD'; - - return result; + `item1.TEL;waid=${contact.wuid}:${contact.phoneNumber}\n` + + 'item1.X-ABLabel:Celular\n' + + 'END:VCARD' + ); }; if (data.contactMessage.length === 1) {