2
0

Fix in memoriam accounts appearing in follow recommendations (#31474)

Co-authored-by: Utkarsh Wankar <46633523+kernal053@users.noreply.github.com>
This commit is contained in:
Edward Moulsdale
2024-08-19 16:55:42 +01:00
committed by GitHub
parent d2e4be0456
commit d4f135bc6d
5 changed files with 11 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ class AccountSuggestions::Source
.searchable
.where(discoverable: true)
.without_silenced
.without_memorial
.where.not(follows_sql, id: account.id)
.where.not(follow_requests_sql, id: account.id)
.not_excluded_by_account(account)