1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Split files in activitypub server

This commit is contained in:
Chocobozzz 2018-05-25 11:32:36 +02:00
parent 16f29007dc
commit e251f170b0
No known key found for this signature in database
GPG key ID: 583A612D890159BE
19 changed files with 133 additions and 136 deletions

View file

@ -5,7 +5,8 @@ import { VideoModel } from '../../../models/video/video'
import { VideoCommentModel } from '../../../models/video/video-comment'
import { VideoShareModel } from '../../../models/video/video-share'
import { getDeleteActivityPubUrl } from '../url'
import { audiencify, broadcastToActors, broadcastToFollowers, getActorsInvolvedInVideo, getVideoCommentAudience, unicastTo } from './misc'
import { broadcastToActors, broadcastToFollowers, unicastTo } from './utils'
import { audiencify, getActorsInvolvedInVideo, getVideoCommentAudience } from '../audience'
async function sendDeleteVideo (video: VideoModel, t: Transaction) {
const url = getDeleteActivityPubUrl(video.url)