diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/lib/activitypub/process/process-create.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/lib/activitypub/process/process-create.ts b/server/lib/activitypub/process/process-create.ts index f8f9b80c6..5e737f49e 100644 --- a/server/lib/activitypub/process/process-create.ts +++ b/server/lib/activitypub/process/process-create.ts | |||
@@ -54,7 +54,8 @@ export { | |||
54 | async function processCreateVideo (activity: ActivityCreate, notify: boolean) { | 54 | async function processCreateVideo (activity: ActivityCreate, notify: boolean) { |
55 | const videoToCreateData = activity.object as VideoTorrentObject | 55 | const videoToCreateData = activity.object as VideoTorrentObject |
56 | 56 | ||
57 | const { video, created } = await getOrCreateVideoAndAccountAndChannel({ videoObject: videoToCreateData }) | 57 | const syncParam = { likes: false, dislikes: false, shares: false, comments: false, thumbnail: true, refreshVideo: false } |
58 | const { video, created } = await getOrCreateVideoAndAccountAndChannel({ videoObject: videoToCreateData, syncParam }) | ||
58 | 59 | ||
59 | if (created && notify) Notifier.Instance.notifyOnNewVideoIfNeeded(video) | 60 | if (created && notify) Notifier.Instance.notifyOnNewVideoIfNeeded(video) |
60 | 61 | ||