mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-13 02:36:36 -05:00
Delete account's reach filter on account deletion
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user