1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +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

@ -8,7 +8,7 @@ import { VideoModel } from '../../../models/video/video'
import { VideoChannelModel } from '../../../models/video/video-channel'
import { VideoCommentModel } from '../../../models/video/video-comment'
import { getOrCreateActorAndServerAndModel } from '../actor'
import { forwardActivity } from '../send/misc'
import { forwardActivity } from '../send/utils'
async function processDeleteActivity (activity: ActivityDelete) {
const objectUrl = typeof activity.object === 'string' ? activity.object : activity.object.id