diff options
Diffstat (limited to 'server/models/video/video-format-utils.ts')
-rw-r--r-- | server/models/video/video-format-utils.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/server/models/video/video-format-utils.ts b/server/models/video/video-format-utils.ts index d4b213686..b1adbcb86 100644 --- a/server/models/video/video-format-utils.ts +++ b/server/models/video/video-format-utils.ts | |||
@@ -4,10 +4,10 @@ import { ActivityTagObject, ActivityUrlObject, VideoObject } from '../../../shar | |||
4 | import { MIMETYPES, WEBSERVER } from '../../initializers/constants' | 4 | import { MIMETYPES, WEBSERVER } from '../../initializers/constants' |
5 | import { VideoCaptionModel } from './video-caption' | 5 | import { VideoCaptionModel } from './video-caption' |
6 | import { | 6 | import { |
7 | getVideoCommentsActivityPubUrl, | 7 | getLocalVideoCommentsActivityPubUrl, |
8 | getVideoDislikesActivityPubUrl, | 8 | getLocalVideoDislikesActivityPubUrl, |
9 | getVideoLikesActivityPubUrl, | 9 | getLocalVideoLikesActivityPubUrl, |
10 | getVideoSharesActivityPubUrl | 10 | getLocalVideoSharesActivityPubUrl |
11 | } from '../../lib/activitypub/url' | 11 | } from '../../lib/activitypub/url' |
12 | import { isArray } from '../../helpers/custom-validators/misc' | 12 | import { isArray } from '../../helpers/custom-validators/misc' |
13 | import { VideoStreamingPlaylist } from '../../../shared/models/videos/video-streaming-playlist.model' | 13 | import { VideoStreamingPlaylist } from '../../../shared/models/videos/video-streaming-playlist.model' |
@@ -382,10 +382,10 @@ function videoModelToActivityPubObject (video: MVideoAP): VideoObject { | |||
382 | height: i.height | 382 | height: i.height |
383 | })), | 383 | })), |
384 | url, | 384 | url, |
385 | likes: getVideoLikesActivityPubUrl(video), | 385 | likes: getLocalVideoLikesActivityPubUrl(video), |
386 | dislikes: getVideoDislikesActivityPubUrl(video), | 386 | dislikes: getLocalVideoDislikesActivityPubUrl(video), |
387 | shares: getVideoSharesActivityPubUrl(video), | 387 | shares: getLocalVideoSharesActivityPubUrl(video), |
388 | comments: getVideoCommentsActivityPubUrl(video), | 388 | comments: getLocalVideoCommentsActivityPubUrl(video), |
389 | attributedTo: [ | 389 | attributedTo: [ |
390 | { | 390 | { |
391 | type: 'Person', | 391 | type: 'Person', |