Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending vCard Broken Wa-Web v2.2307.7 #2000

Closed
1 task done
gkp1 opened this issue Feb 14, 2023 · 1 comment
Closed
1 task done

Sending vCard Broken Wa-Web v2.2307.7 #2000

gkp1 opened this issue Feb 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@gkp1
Copy link

gkp1 commented Feb 14, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

client.sendMessage(message.from, vCard); is no longer working with the 'classic' format:

vCard:

BEGIN:VCARD
VERSION:3.0
FN:Contact Name
ORG:Subtitle inside contact card;
TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555
END:VCARD

result:
WhatsApp_SOFMOk249T

Chromium, whatsapp business.

Expected behavior

WhatsApp_xhe3nHWWNh

Steps to Reproduce the Bug or Issue



let vCard =`
BEGIN:VCARD
VERSION:3.0
FN:Contact Name
ORG:Subtitle inside contact card;
TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555
END:VCARD
`
client.sendMessage(message.from, vCard);

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Windows
Phone OS: Android 8
whatsapp-web.js version : v1.19.4
WhatsApp Web version : v2.2307.7
Node.js Version 19.0.0

Additional context

No response

@gkp1 gkp1 added the bug Something isn't working label Feb 14, 2023
@RC047
Copy link
Contributor

RC047 commented Feb 15, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

client.sendMessage(message.from, vCard); is no longer working with the 'classic' format:

vCard:

BEGIN:VCARD
VERSION:3.0
FN:Contact Name
ORG:Subtitle inside contact card;
TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555
END:VCARD

result: WhatsApp_SOFMOk249T

Chromium, whatsapp business.

Expected behavior

WhatsApp_xhe3nHWWNh

Steps to Reproduce the Bug or Issue



let vCard =`
BEGIN:VCARD
VERSION:3.0
FN:Contact Name
ORG:Subtitle inside contact card;
TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555
END:VCARD
`
client.sendMessage(message.from, vCard);

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Windows
Phone OS: Android 8
whatsapp-web.js version : v1.19.4
WhatsApp Web version : v2.2307.7
Node.js Version 19.0.0

Additional context

No response

Try this #1995

@gkp1 gkp1 closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants