ActivityPub-federated video streaming platform using P2P directly in your web browser
Speed up videos indexation
Chocobozzze74bda21d153
diff --git a/server/lib/activitypub/process/process-create.ts b/server/lib/activitypub/process/process-create.tsindex f8f9b80c6d..5e737f49ea 100644--- a/server/lib/activitypub/process/process-create.ts+++ b/server/lib/activitypub/process/process-create.ts@@ -54,7 +54,8 @@ export {async function processCreateVideo (activity: ActivityCreate, notify: boolean) {const videoToCreateData = activity.object as VideoTorrentObject- const { video, created } = await getOrCreateVideoAndAccountAndChannel({ videoObject: videoToCreateData })+ const syncParam = { likes: false, dislikes: false, shares: false, comments: false, thumbnail: true, refreshVideo: false }+ const { video, created } = await getOrCreateVideoAndAccountAndChannel({ videoObject: videoToCreateData, syncParam })if (created && notify) Notifier.Instance.notifyOnNewVideoIfNeeded(video)