mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
More robust actor image lazy load
This commit is contained in:
@@ -98,4 +98,8 @@ export class ActorImageModel extends Model<Partial<AttributesOnly<ActorImageMode
|
||||
const imagePath = join(CONFIG.STORAGE.ACTOR_IMAGES, this.filename)
|
||||
return remove(imagePath)
|
||||
}
|
||||
|
||||
isOwned () {
|
||||
return !this.fileUrl
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user