diff options
Diffstat (limited to 'server/models/actor')
-rw-r--r-- | server/models/actor/actor-image.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/models/actor/actor-image.ts b/server/models/actor/actor-image.ts index a35f9edb0..98a7f6fba 100644 --- a/server/models/actor/actor-image.ts +++ b/server/models/actor/actor-image.ts | |||
@@ -98,4 +98,8 @@ export class ActorImageModel extends Model<Partial<AttributesOnly<ActorImageMode | |||
98 | const imagePath = join(CONFIG.STORAGE.ACTOR_IMAGES, this.filename) | 98 | const imagePath = join(CONFIG.STORAGE.ACTOR_IMAGES, this.filename) |
99 | return remove(imagePath) | 99 | return remove(imagePath) |
100 | } | 100 | } |
101 | |||
102 | isOwned () { | ||
103 | return !this.fileUrl | ||
104 | } | ||
101 | } | 105 | } |