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/models/video/video.ts | |
parent | 1ef65f4c034cc53ab5d55417e52d60e1f7fc1ddb (diff) | |
download | PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.tar.gz PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.tar.zst PeerTube-de6310b2fcbb8a6b79c546b23dfa1920724faaa7.zip |
Handle live federation
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 1037730e3..a3e3b6cfe 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -31,7 +31,7 @@ import { getServerActor } from '@server/models/application/application' | |||
31 | import { ModelCache } from '@server/models/model-cache' | 31 | import { ModelCache } from '@server/models/model-cache' |
32 | import { VideoFile } from '@shared/models/videos/video-file.model' | 32 | import { VideoFile } from '@shared/models/videos/video-file.model' |
33 | import { ResultList, UserRight, VideoPrivacy, VideoState } from '../../../shared' | 33 | import { ResultList, UserRight, VideoPrivacy, VideoState } from '../../../shared' |
34 | import { VideoTorrentObject } from '../../../shared/models/activitypub/objects' | 34 | import { VideoObject } from '../../../shared/models/activitypub/objects' |
35 | import { Video, VideoDetails } from '../../../shared/models/videos' | 35 | import { Video, VideoDetails } from '../../../shared/models/videos' |
36 | import { ThumbnailType } from '../../../shared/models/videos/thumbnail.type' | 36 | import { ThumbnailType } from '../../../shared/models/videos/thumbnail.type' |
37 | import { VideoFilter } from '../../../shared/models/videos/video-query.type' | 37 | import { VideoFilter } from '../../../shared/models/videos/video-query.type' |
@@ -1763,7 +1763,7 @@ export class VideoModel extends Model<VideoModel> { | |||
1763 | return videoFilesModelToFormattedJSON(this, baseUrlHttp, baseUrlWs, files) | 1763 | return videoFilesModelToFormattedJSON(this, baseUrlHttp, baseUrlWs, files) |
1764 | } | 1764 | } |
1765 | 1765 | ||
1766 | toActivityPubObject (this: MVideoAP): VideoTorrentObject { | 1766 | toActivityPubObject (this: MVideoAP): VideoObject { |
1767 | return videoModelToActivityPubObject(this) | 1767 | return videoModelToActivityPubObject(this) |
1768 | } | 1768 | } |
1769 | 1769 | ||