ActivityPub-federated video streaming platform using P2P directly in your web browser
More robust RSS feed
Chocobozzzacd9eaeb1de1
diff --git a/server/core/models/video/video.ts b/server/core/models/video/video.tsindex bc1a47ce16..26809d821c 100644--- a/server/core/models/video/video.ts+++ b/server/core/models/video/video.ts@@ -1729,6 +1729,12 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {this.Thumbnails.push(savedThumbnail)}+ // ---------------------------------------------------------------------------++ hasMiniature () {+ return !!this.getMiniature()+ }+getMiniature () {if (Array.isArray(this.Thumbnails) === false) return undefined@@ -1745,6 +1751,8 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {return this.Thumbnails.find(t => t.type === ThumbnailType.PREVIEW)}+ // ---------------------------------------------------------------------------+isOwned () {return this.remote === false}