mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add internal privacy mode
This commit is contained in:
parent
91fa7960f4
commit
22a73cb879
19 changed files with 217 additions and 88 deletions
|
@ -25,7 +25,7 @@ import {
|
|||
async function sendUpdateVideo (videoArg: MVideoAPWithoutCaption, t: Transaction, overrodeByActor?: MActor) {
|
||||
const video = videoArg as MVideoAP
|
||||
|
||||
if (video.privacy === VideoPrivacy.PRIVATE) return undefined
|
||||
if (!video.hasPrivacyForFederation()) return undefined
|
||||
|
||||
logger.info('Creating job to update video %s.', video.url)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue