mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix RSS feed when HLS only is enabled
This commit is contained in:
parent
74055dc882
commit
97816649b7
4 changed files with 117 additions and 13 deletions
|
@ -59,7 +59,11 @@ function videoModelToFormattedJSON (video: MVideoFormattable, options?: VideoFor
|
|||
label: VideoModel.getPrivacyLabel(video.privacy)
|
||||
},
|
||||
nsfw: video.nsfw,
|
||||
description: options && options.completeDescription === true ? video.description : video.getTruncatedDescription(),
|
||||
|
||||
description: options && options.completeDescription === true
|
||||
? video.description
|
||||
: video.getTruncatedDescription(),
|
||||
|
||||
isLocal: video.isOwned(),
|
||||
duration: video.duration,
|
||||
views: video.views,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue