]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/process/process-view.ts
Don't refresh videos when processing views
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / process / process-view.ts
index df29ee968b85fe7c22fd20c6eed427683fa1a2e8..b3b6c933dd9e5b1400d1e8049dd0014d5403298f 100644 (file)
@@ -23,7 +23,8 @@ async function processCreateView (activity: ActivityView | ActivityCreate, byAct
 
   const options = {
     videoObject,
-    fetchType: 'only-video' as 'only-video'
+    fetchType: 'only-immutable-attributes' as 'only-immutable-attributes',
+    allowRefresh: false as false
   }
   const { video } = await getOrCreateVideoAndAccountAndChannel(options)