main β fix-pending-users-reminder-rejected
merged 02:37PM - 27 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)