Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Correctly fix video feeds endpoint

Chocobozzz22ab71150149
diff --git a/server/core/controllers/feeds/shared/video-feed-utils.ts b/server/core/controllers/feeds/shared/video-feed-utils.ts
index b6306c214c..260dac35fc 100644
--- a/server/core/controllers/feeds/shared/video-feed-utils.ts
+++ b/server/core/controllers/feeds/shared/video-feed-utils.ts
@@ -42,7 +42,7 @@ export function getCommonVideoFeedAttributes (video: VideoModel) {
const thumbnailModels: MThumbnail[] = []
if (video.hasPreview()) thumbnailModels.push(video.getPreview())
- thumbnailModels.push(video.getMiniature())
+ if (video.hasMiniature()) thumbnailModels.push(video.getMiniature())
return {
title: video.name,