Skip to content

fix(social): exclude inactive accounts from follow counts - #122

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/follow-counts-active-only
Aug 1, 2026
Merged

fix(social): exclude inactive accounts from follow counts#122
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/follow-counts-active-only

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • exclude suspended and deleted accounts from follower counts
  • exclude suspended and deleted accounts from following counts

Why

getFollowCounts previously counted every row in ollows, while public profiles and rankings treat inactive users as unavailable. This left stale follower/following totals after an account was suspended or deleted.

Verification

  • pnpm typecheck`n- pnpm test (26 files, 107 tests)
  • git diff --check`n
    The change is limited to the two count subqueries in �pps/web/lib/social.ts and keeps the existing public API unchanged.

@ralyodio
ralyodio merged commit 5b32f96 into profullstack:master Aug 1, 2026
5 checks passed
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.

2 participants