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

Handle live federation

This commit is contained in:
Chocobozzz 2020-09-17 13:59:02 +02:00 committed by Chocobozzz
parent 1ef65f4c03
commit de6310b2fc
10 changed files with 30 additions and 26 deletions

View file

@ -18,7 +18,7 @@ import {
MVideoAccountLightBlacklistAllFiles
} from '@server/types/models'
import { ActivityCreate } from '../../shared/models/activitypub'
import { VideoTorrentObject } from '../../shared/models/activitypub/objects'
import { VideoObject } from '../../shared/models/activitypub/objects'
import { VideoCommentObject } from '../../shared/models/activitypub/objects/video-comment-object'
import { VideoCreate, VideoImportCreate } from '../../shared/models/videos'
import { VideoCommentCreate } from '../../shared/models/videos/video-comment.model'
@ -62,7 +62,7 @@ function isLocalVideoCommentReplyAccepted (_object: {
function isRemoteVideoAccepted (_object: {
activity: ActivityCreate
videoAP: VideoTorrentObject
videoAP: VideoObject
byActor: ActorModel
}): AcceptResult {
return { accepted: true }