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

fix: Fixed contacts.update when received changed picture event (close #931) #979

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

icleitoncosta
Copy link
Contributor

@icleitoncosta icleitoncosta commented Aug 14, 2024

I was running some tests with Baileys and noticed this simple bug.
They previously fixed the processProfilePic function, but when receiving the contact update event, the ID that came was blank.

By making this simple fix, the event was corrected.

Cited in #931

@whiskeysockets-bot
Copy link
Contributor

Thanks for your contribution.

The next step is to wait for review and approval to merge it to main repository

The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it.

To test this PR you can run the following command below:

# NPM
npm install @whiskeysockets/baileys@icleitoncosta/Baileys#picture-ev
# YARN v2
yarn add @whiskeysockets/baileys@icleitoncosta/Baileys#picture-ev

@icleitoncosta icleitoncosta changed the title fix: Fixed contacts.update when received changed picture event fix: Fixed contacts.update when received changed picture event (close #931) Aug 14, 2024
@PurpShell PurpShell merged commit c02b772 into WhiskeySockets:master Aug 19, 2024
2 checks passed
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.

3 participants