Repository navigation
Evolution API v5.4.1 - Group LID delete fix
Group LID delete fix
Fixes group chat.deleteMessage calls that returned 200/PENDING but did not remove the WhatsApp message when n8n supplied a group JID, message ID, and an @lid participant without the complete original key.
Fix
- resolve the authoritative stored message key by current instance, original message ID, and matching chat/group JID
- hydrate
participantAlt,addressingMode,remoteJidAlt, and the originalfromMevalue before sending the Baileys delete stanza - retain the requested message ID so hydration cannot redirect deletion
- add regression coverage for the partial n8n group/LID request
Validation
- Quality/full build passed
- CodeQL workflow and GitHub Advanced Security gate passed
- message-key regression tests, ESLint, TypeScript, and diff checks passed before the PR
No destructive live deletion was run. Live acceptance still needs an explicitly designated disposable group message after deployment.
Rollback
The exact pre-fix main state is tagged rollback/pre-group-delete-lid, commit feae32cfeaead06d3826d8a402aa9c7c0c5ef769.
git fetch origin --tags
git switch -c instinct/group-delete-lid-rollback rollback/pre-group-delete-lid
git push -u origin instinct/group-delete-lid-rollbackThe release merge commit is e23fe130673318e5dc2796db5d981405fff009cc.