Fix comment notifications
authorChocobozzz <me@florianbigard.com>
Wed, 7 Aug 2019 09:51:28 +0000 (11:51 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 7 Aug 2019 10:07:59 +0000 (12:07 +0200)
server/lib/activitypub/video-comments.ts

index 92e1a9020788d570676fa6e1628e5f23b1453219..8d2c1ade318b8e32bb439e3433f422b8e67debd5 100644 (file)
@@ -141,7 +141,7 @@ async function resolveParentComment (params: ResolveThreadParams) {
     throw new Error(`Comment url ${url} host is different from the AP object id ${body.id}`)
   }
 
-  const actor = await getOrCreateActorAndServerAndModel(actorUrl)
+  const actor = await getOrCreateActorAndServerAndModel(actorUrl, 'all')
   const comment = new VideoCommentModel({
     url: body.id,
     text: body.content,