Conversation
change setDescription to accept an object instead of positional arguments, making each argument explicit to comply with the new WhatsApp Web version. await chatWid before passing it to setDescription and use optional chaining when accessing descId to safely handle missing values.
rmyndharis
added a commit
to purnamcommunity/OpenWA
that referenced
this pull request
Sep 1, 2026
The 29.3.1 heading still counted eight patches over a nine row table. The table row and the patcher header now name the open upstream fix, wwebjs/whatsapp-web.js#201895, the way the #201832 and #201816 entries already do, and record what has to survive the day it lands: upstream keeps WAWebMsgKey.newId() and passes an empty description through verbatim, so a tree carrying it matches neither the transform's find nor its replace, and the empty-string clear that docs/06 documents lives only in the mapping this patcher adds. Credit the contributor on the CHANGELOG entry, per docs/20.
rmyndharis
added a commit
to purnamcommunity/OpenWA
that referenced
this pull request
Sep 1, 2026
The 29.3.1 heading still counted eight patches over a nine row table. The table row and the patcher header now name the open upstream fix, wwebjs/whatsapp-web.js#201895, the way the #201832 and #201816 entries already do, and record what has to survive the day it lands: upstream keeps WAWebMsgKey.newId() and passes an empty description through verbatim, so a tree carrying it matches neither the transform's find nor its replace, and the empty-string clear that docs/06 documents lives only in the mapping this patcher adds. Credit the contributor on the CHANGELOG entry, per docs/20.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Change setDescription to accept an object instead of positional arguments, making each argument explicit to comply with the new WhatsApp Web version. Fix the error bellow when call setDescription. Await chatWid before passing it to setDescription and use optional chaining when accessing descId to safely handle missing values.
I tried to make minimal changes to the current implementation to preserve the existing code pattern.
Previous setDescription(in main)
Sugested setDescription
Related Issue(s)
Testing Summary
Test Details
Environment
Type of Change
Checklist
npm test).index.d.ts) have been updated if necessary.example.js) / documentation have been updated if applicable.