diff options
Diffstat (limited to 'server/lib/activitypub/share.ts')
-rw-r--r-- | server/lib/activitypub/share.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/share.ts b/server/lib/activitypub/share.ts index 386ae362a..294a6838d 100644 --- a/server/lib/activitypub/share.ts +++ b/server/lib/activitypub/share.ts | |||
@@ -6,7 +6,7 @@ import { VideoShareModel } from '../../models/video/video-share' | |||
6 | import { sendVideoAnnounceToFollowers } from './send' | 6 | import { sendVideoAnnounceToFollowers } from './send' |
7 | 7 | ||
8 | async function shareVideoByServerAndChannel (video: VideoModel, t: Transaction) { | 8 | async function shareVideoByServerAndChannel (video: VideoModel, t: Transaction) { |
9 | if (video.privacy === VideoPrivacy.PRIVATE) return | 9 | if (video.privacy === VideoPrivacy.PRIVATE) return undefined |
10 | 10 | ||
11 | const serverActor = await getServerActor() | 11 | const serverActor = await getServerActor() |
12 | 12 | ||