diff options
author | Chocobozzz <me@florianbigard.com> | 2020-09-17 13:59:02 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | de6310b2fcbb8a6b79c546b23dfa1920724faaa7 (patch) | |
tree | 57e73811ef2cf0c903782704284c9cbfc1598adb /server/lib/moderation.ts | |
parent | 1ef65f4c034cc53ab5d55417e52d60e1f7fc1ddb (diff) | |
download | PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.tar.gz PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.tar.zst PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.zip |
Handle live federation
Diffstat (limited to 'server/lib/moderation.ts')
-rw-r--r-- | server/lib/moderation.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/moderation.ts b/server/lib/moderation.ts index b140d5aa9..0ef26d53d 100644 --- a/server/lib/moderation.ts +++ b/server/lib/moderation.ts | |||
@@ -18,7 +18,7 @@ import { | |||
18 | MVideoAccountLightBlacklistAllFiles | 18 | MVideoAccountLightBlacklistAllFiles |
19 | } from '@server/types/models' | 19 | } from '@server/types/models' |
20 | import { ActivityCreate } from '../../shared/models/activitypub' | 20 | import { ActivityCreate } from '../../shared/models/activitypub' |
21 | import { VideoTorrentObject } from '../../shared/models/activitypub/objects' | 21 | import { VideoObject } from '../../shared/models/activitypub/objects' |
22 | import { VideoCommentObject } from '../../shared/models/activitypub/objects/video-comment-object' | 22 | import { VideoCommentObject } from '../../shared/models/activitypub/objects/video-comment-object' |
23 | import { VideoCreate, VideoImportCreate } from '../../shared/models/videos' | 23 | import { VideoCreate, VideoImportCreate } from '../../shared/models/videos' |
24 | import { VideoCommentCreate } from '../../shared/models/videos/video-comment.model' | 24 | import { VideoCommentCreate } from '../../shared/models/videos/video-comment.model' |
@@ -62,7 +62,7 @@ function isLocalVideoCommentReplyAccepted (_object: { | |||
62 | 62 | ||
63 | function isRemoteVideoAccepted (_object: { | 63 | function isRemoteVideoAccepted (_object: { |
64 | activity: ActivityCreate | 64 | activity: ActivityCreate |
65 | videoAP: VideoTorrentObject | 65 | videoAP: VideoObject |
66 | byActor: ActorModel | 66 | byActor: ActorModel |
67 | }): AcceptResult { | 67 | }): AcceptResult { |
68 | return { accepted: true } | 68 | return { accepted: true } |