]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/process/process-create.ts
Fix videos list user NSFW policy
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / process / process-create.ts
index 5197dac73455bef70c8d2cff984775c88404e713..cff8dcfc680ab6e4f1cf6e5d3bc47064a0312e29 100644 (file)
@@ -90,9 +90,6 @@ async function processCreateView (byActor: ActorModel, activity: ActivityCreate)
   }
   const { video } = await getOrCreateVideoAndAccountAndChannel(options)
 
-  const actorExists = await ActorModel.isActorUrlExist(view.actor)
-  if (actorExists === false) throw new Error('Unknown actor ' + view.actor)
-
   await Redis.Instance.addVideoView(video.id)
 
   if (video.isOwned()) {