mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Add internal privacy mode
This commit is contained in:
parent
91fa7960f4
commit
22a73cb879
19 changed files with 217 additions and 88 deletions
|
@ -18,7 +18,7 @@ import {
|
|||
} from '../../../typings/models'
|
||||
|
||||
async function sendCreateVideo (video: MVideoAP, t: Transaction) {
|
||||
if (video.privacy === VideoPrivacy.PRIVATE) return undefined
|
||||
if (!video.hasPrivacyForFederation()) return undefined
|
||||
|
||||
logger.info('Creating job to send video creation of %s.', video.url)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue