Skip to content

Fix missing anti-revoke deleted DB migration / chat lag#1

Open
JadenJSJ wants to merge 1 commit into
masterfrom
fix/anti-revoke-db-migration
Open

Fix missing anti-revoke deleted DB migration / chat lag#1
JadenJSJ wants to merge 1 commit into
masterfrom
fix/anti-revoke-db-migration

Conversation

@JadenJSJ
Copy link
Copy Markdown
Member

Summary

This PR fixes WhatsApp conversation lag caused by repeated WAE deleted-message database 5 -> 11 migration failures.

Fixed

  • Added the missing Room migration path from delmessages.db schema version 5 to 6, allowing existing WAE deleted-message history databases to migrate forward to the current schema.
  • Skipped anti-revoke deleted-message DB lookups during conversation item binding when the anti-revoke display setting is disabled.

Notes

Device was running an older version of WAE which used DB version 5.

LSPosed modules logs showed ConversationItemListener repeatedly catching and logging:

A migration from 5 to 11 was required but not found.

Log produced on AntiRevoke.bindRevokedMessageUI() when WhatsApp renders conversation rows. Causing lag even with default WAE settings.

Validation

  • Verified local build
  • Tested on device fixes for lag & migration exceptions.

GH Releases: https://github.com/JSJ-Experiments/WaEnhancer/releases/tag/debug-2ebe945
GH Actions run: https://github.com/JSJ-Experiments/WaEnhancer/actions/runs/25955403989

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 16, 2026

Warning

Rate limit exceeded

@JadenJSJ has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 14 minutes and 53 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c75a71e3-bfb1-44e8-b568-daf6bd66baf3

📥 Commits

Reviewing files that changed from the base of the PR and between 4442dc3 and 2ebe945.

📒 Files selected for processing (2)
  • app/src/main/java/com/wmods/wppenhacer/xposed/core/db/DelMessageDatabase.kt
  • app/src/main/java/com/wmods/wppenhacer/xposed/features/general/AntiRevoke.kt
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/anti-revoke-db-migration

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant