projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cd26d0
)
Fix federation with a comment reply
author
Chocobozzz
<me@florianbigard.com>
Thu, 27 Sep 2018 09:05:50 +0000
(11:05 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 27 Sep 2018 09:05:50 +0000
(11:05 +0200)
server/lib/activitypub/video-comments.ts
patch
|
blob
|
history
diff --git
a/server/lib/activitypub/video-comments.ts
b/server/lib/activitypub/video-comments.ts
index 192add5e42f863d327f1cc0b72c2de5144c8ad46..c8c17f4c41cfb88ae056d8b58b39d9ddf572f68d 100644
(file)
--- a/
server/lib/activitypub/video-comments.ts
+++ b/
server/lib/activitypub/video-comments.ts
@@
-136,7
+136,7
@@
async function resolveThread (url: string, comments: VideoCommentModel[] = []) {
const actor = await getOrCreateActorAndServerAndModel(actorUrl)
const comment = new VideoCommentModel({
- url: body.
url
,
+ url: body.
id
,
text: body.content,
videoId: null,
accountId: actor.Account.id,