1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00
This commit is contained in:
Chocobozzz 2017-12-19 14:22:38 +01:00
parent 0405ab52dc
commit 54b3806324
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 3 additions and 5 deletions

View file

@ -6,7 +6,7 @@ import { VideoShareModel } from '../../models/video/video-share'
import { sendVideoAnnounceToFollowers } from './send'
async function shareVideoByServerAndChannel (video: VideoModel, t: Transaction) {
if (video.privacy === VideoPrivacy.PRIVATE) return
if (video.privacy === VideoPrivacy.PRIVATE) return undefined
const serverActor = await getServerActor()