mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
change changelog file
This commit is contained in:
parent
153695288e
commit
37397c7a69
@ -1425,15 +1425,15 @@ export class WAStartupService {
|
|||||||
const message: proto.IMessage = {};
|
const message: proto.IMessage = {};
|
||||||
|
|
||||||
const vcard = (contact: ContactMessage) => {
|
const vcard = (contact: ContactMessage) => {
|
||||||
const result =
|
return (
|
||||||
'BEGIN:VCARD\n' +
|
'BEGIN:VCARD\n' +
|
||||||
'VERSION:3.0\n' +
|
'VERSION:3.0\n' +
|
||||||
`FN:${contact.fullName}\n` +
|
`FN:${contact.fullName}\n` +
|
||||||
`ORG:${contact.organization};\n` +
|
`ORG:${contact.organization};\n` +
|
||||||
`TEL;type=CELL;type=VOICE;waid=${contact.wuid}:${contact.wuid}\n` +
|
`item1.TEL;waid=${contact.wuid}:${contact.phoneNumber}\n` +
|
||||||
'END:VCARD';
|
'item1.X-ABLabel:Celular\n' +
|
||||||
|
'END:VCARD'
|
||||||
return result;
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
if (data.contactMessage.length === 1) {
|
if (data.contactMessage.length === 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user