diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-07 11:51:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-07 12:07:59 +0200 |
commit | 0763044f7d11a56dd5c5c424771dd83c76159de2 (patch) | |
tree | 029f6f859159b2d2b3226bb4bfe093b1f53f3eb2 /server/lib | |
parent | f3628e694b8e378b25c34b66f8e1edb7d78afd5f (diff) | |
download | PeerTube-0763044f7d11a56dd5c5c424771dd83c76159de2.tar.gz PeerTube-0763044f7d11a56dd5c5c424771dd83c76159de2.tar.zst PeerTube-0763044f7d11a56dd5c5c424771dd83c76159de2.zip |
Fix comment notifications
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/video-comments.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/video-comments.ts b/server/lib/activitypub/video-comments.ts index 92e1a9020..8d2c1ade3 100644 --- a/server/lib/activitypub/video-comments.ts +++ b/server/lib/activitypub/video-comments.ts | |||
@@ -141,7 +141,7 @@ async function resolveParentComment (params: ResolveThreadParams) { | |||
141 | throw new Error(`Comment url ${url} host is different from the AP object id ${body.id}`) | 141 | throw new Error(`Comment url ${url} host is different from the AP object id ${body.id}`) |
142 | } | 142 | } |
143 | 143 | ||
144 | const actor = await getOrCreateActorAndServerAndModel(actorUrl) | 144 | const actor = await getOrCreateActorAndServerAndModel(actorUrl, 'all') |
145 | const comment = new VideoCommentModel({ | 145 | const comment = new VideoCommentModel({ |
146 | url: body.id, | 146 | url: body.id, |
147 | text: body.content, | 147 | text: body.content, |