1
0
Fork 0
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:
Chocobozzz 2019-12-12 15:47:47 +01:00
parent 91fa7960f4
commit 22a73cb879
No known key found for this signature in database
GPG key ID: 583A612D890159BE
19 changed files with 217 additions and 88 deletions

View file

@ -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)