Fix federation with a comment reply

This commit is contained in:
Chocobozzz 2018-09-27 11:05:50 +02:00
parent 7cd26d0a99
commit 8578e3b5e6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ async function resolveThread (url: string, comments: VideoCommentModel[] = []) {
const actor = await getOrCreateActorAndServerAndModel(actorUrl) const actor = await getOrCreateActorAndServerAndModel(actorUrl)
const comment = new VideoCommentModel({ const comment = new VideoCommentModel({
url: body.url, url: body.id,
text: body.content, text: body.content,
videoId: null, videoId: null,
accountId: actor.Account.id, accountId: actor.Account.id,