Skip to content

Commit 37397c7

Browse files
committed
change changelog file
1 parent 1536952 commit 37397c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/whatsapp/services/whatsapp.service.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,15 +1425,15 @@ export class WAStartupService {
14251425
const message: proto.IMessage = {};
14261426

14271427
const vcard = (contact: ContactMessage) => {
1428-
const result =
1428+
return (
14291429
'BEGIN:VCARD\n' +
14301430
'VERSION:3.0\n' +
14311431
`FN:${contact.fullName}\n` +
14321432
`ORG:${contact.organization};\n` +
1433-
`TEL;type=CELL;type=VOICE;waid=${contact.wuid}:${contact.wuid}\n` +
1434-
'END:VCARD';
1435-
1436-
return result;
1433+
`item1.TEL;waid=${contact.wuid}:${contact.phoneNumber}\n` +
1434+
'item1.X-ABLabel:Celular\n' +
1435+
'END:VCARD'
1436+
);
14371437
};
14381438

14391439
if (data.contactMessage.length === 1) {

0 commit comments

Comments
 (0)