Skip to content

Evolution API v5.4.1 - Group LID delete fix

Choose a tag to compare

@Neup123 Neup123 released this 22 Sep 09:49
e23fe13

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 original fromMe value 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-rollback

The release merge commit is e23fe130673318e5dc2796db5d981405fff009cc.