Fix account avatar and header descriptions not being deleted when an account is deleted (#40621)

This commit is contained in:
Claire committed 2026-09-24 16:29:39 +02:00
1 parent d33f07cf2d
commit efef2275c7
1 file changed
+2
+2
View File
@@ -253,6 +253,8 @@ class DeleteAccountService < BaseService
@account.also_known_as = []
@account.avatar.destroy
@account.header.destroy
@account.avatar_description = ''
@account.header_description = ''
@account.save!
end