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

feat: add received vcards to the message #400

Merged
merged 5 commits into from
Nov 5, 2020
Merged

feat: add received vcards to the message #400

merged 5 commits into from
Nov 5, 2020

Conversation

lucasrosa90
Copy link
Contributor

Copy link
Owner

@pedroslopez pedroslopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the issue with this solution is that the body property would no longer always be a string type, which could cause issues for people using the library if they're expecting this type.

Maybe we should just add a property that has the vcard array, like what WhatsApp is doing on their end.

@lucasrosa90
Copy link
Contributor Author

Sure, you're right.

@lucasrosa90 lucasrosa90 changed the title fix: show multiple vcard as array in body feat: show multiple vcard as array in body Oct 27, 2020
@lucasrosa90 lucasrosa90 changed the title feat: show multiple vcard as array in body feat: add received vcards to the message Oct 27, 2020
@pedroslopez pedroslopez merged commit 709c43c into pedroslopez:master Nov 5, 2020
@lucasrosa90 lucasrosa90 deleted the bugfix-multi_vcard branch November 5, 2020 11:51
Belfio pushed a commit to Belfio/whatsapp-web.js that referenced this pull request Jan 9, 2024
close pedroslopez#398 

Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants