From 2af337c83905c420b2d9022ee6fd3d6ef5fd1e42 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 Nov 2020 16:29:35 +0100 Subject: Cleanup follows of orphean actors --- server/models/account/account.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/models/account/account.ts') diff --git a/server/models/account/account.ts b/server/models/account/account.ts index f97519b14..1162643be 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts @@ -228,6 +228,7 @@ export class AccountModel extends Model { } await ActorFollowModel.removeFollowsOf(instance.Actor.id, options.transaction) + if (instance.isOwned()) { return sendDeleteActor(instance.Actor, options.transaction) } -- cgit v1.2.3