main ← fix-pending-users-reminder-rejected
opened 01:55PM - 26 May 26 UTC
Previously, the `PendingUsersReminder` job counted every user with `approved: fa…lse, active: true`, including users whose `ReviewableUser` had already been rejected but who could not be destroyed (because they had posts or were admins) — producing PMs claiming users were waiting for approval while `/review` was empty, as reported in https://meta.discourse.org/t/262853/9.
This change filters the query to only count users whose `ReviewableUser` is still pending, so the reminder's count matches the `/review` queue it links to.
🤖 Generated with [Claude Code](https://claude.com/claude-code)