mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Add downloadingEnabled property to video model
This commit is contained in:
parent
35d50b7dd2
commit
156c50af30
34 changed files with 100 additions and 4 deletions
|
@ -67,6 +67,7 @@ function sanitizeAndCheckVideoTorrentObject (video: any) {
|
|||
isVideoViewsValid(video.views) &&
|
||||
isBooleanValid(video.sensitive) &&
|
||||
isBooleanValid(video.commentsEnabled) &&
|
||||
isBooleanValid(video.downloadingEnabled) &&
|
||||
isDateValid(video.published) &&
|
||||
isDateValid(video.updated) &&
|
||||
(!video.content || isRemoteVideoContentValid(video.mediaType, video.content)) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue