Fix federation with a comment reply
This commit is contained in:
parent
7cd26d0a99
commit
8578e3b5e6
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue