Delete account's reach filter on account deletion

This commit is contained in:
Claire
2026-09-07 14:13:34 +02:00
parent 9d347d2327
commit 13e221a69e

View File

@@ -158,6 +158,9 @@ class DeleteAccountService < BaseService
purge_feeds!
purge_other_associations!
# This needs to happen *after* delivery of `Delete` activities is scheduled
@account.reach_filter&.destroy
@account.destroy unless keep_account_record?
end