Fix comment notifications

pull/2012/head
Chocobozzz 2019-08-07 11:51:28 +02:00
parent f3628e694b
commit 0763044f7d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View 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}`) 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({ const comment = new VideoCommentModel({
url: body.id, url: body.id,
text: body.content, text: body.content,