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:
f3628e6
)
Fix comment notifications
author
Chocobozzz
<me@florianbigard.com>
Wed, 7 Aug 2019 09:51:28 +0000
(11:51 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 7 Aug 2019 10:07:59 +0000
(12:07 +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 92e1a9020788d570676fa6e1628e5f23b1453219..8d2c1ade318b8e32bb439e3433f422b8e67debd5 100644
(file)
--- 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,