-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
fix(vcard): parse vcard module #1995
base: main
Are you sure you want to change the base?
Conversation
closes #1994 |
thanks |
Should this be working with multiple cards? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make ESList god happy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, works on ios, android and web.
Remove all formatting changes |
Installing npm install git+https://github.com/CyrilLacroix/whatsapp-web.js.git get a TypeError: data.id.id.substring is not a function When is it going to be merge to master? |
Where we standing with this? |
When this pull merge it? It works flawlessly @purpshell @tuyuribr @shirser121 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested its work
This comment was marked as off-topic.
This comment was marked as off-topic.
Didn´t work to me |
This comment was marked as outdated.
This comment was marked as outdated.
Can you share all the code changes need to be placed? |
1 similar comment
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
how do I solve this, please explain what needs to be replaced. |
any ETA on this? |
Can this patch be modified to work on v1.25.0 ? |
Hi, I have tested this patch and it works except when the VCARD contains an EMAIL entry. For example, in the example.js file, replace the vCard:
It will not work. One way to fix this is to replace lines 139-142 of Utils.js with:
|
Co-authored-by: KH Soh <[email protected]>
@khsoh Thank you! |
PR Details
Fix for vCard parsing.
Description
Modules and their function that are responsible for parsing vCards were updated.
Related Issues
closes #1994 closes #2327 closes #2680
Motivation and Context
The vCard was not display, the content of the vCard was sent to Whatsapp chat.
How Has This Been Tested
Tested with a Bot, the vCard is now generated and displayed properly in Whatsapp.
Types of changes
Checklist