From: Chocobozzz Date: Wed, 7 Aug 2019 09:51:28 +0000 (+0200) Subject: Fix comment notifications X-Git-Tag: v1.4.0-rc.1~18 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0763044f7d11a56dd5c5c424771dd83c76159de2;p=github%2FChocobozzz%2FPeerTube.git Fix comment notifications --- diff --git a/server/lib/activitypub/video-comments.ts b/server/lib/activitypub/video-comments.ts index 92e1a9020..8d2c1ade3 100644 --- a/server/lib/activitypub/video-comments.ts +++ b/server/lib/activitypub/video-comments.ts @@ -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,