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: update/remove profile picture #1048

Closed
wants to merge 2 commits into from

Conversation

Akkun3704
Copy link

Fix timeout error when tried to update/remove profile picture

// empty jid for updating/removing our own profile picture
sock.removeProfilePicture(undefined)
sock.updateProfilePicture(undefined, content)

// or group jid for updating/removing group picture
sock.removeProfilePicture('[email protected]')
sock.updateProfilePicture('[email protected]', content)

@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@Akkun3704/Baileys#profile-picture
# YARN v2
yarn add @whiskeysockets/baileys@Akkun3704/Baileys#profile-picture

@Akkun3704 Akkun3704 changed the title Update chats.ts fix: update/remove profile picture Sep 20, 2024
@Akkun3704 Akkun3704 mentioned this pull request Sep 20, 2024
@DavidsonGomes
Copy link
Contributor

@PurpShell we need this fix

@PurpShell
Copy link
Collaborator

i was unable to modify the branch, closing

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.

4 participants