aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/process
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-25 11:17:41 +0200
committerChocobozzz <me@florianbigard.com>2018-05-25 11:17:41 +0200
commit16f29007dc6ad9c539195d7a7c1cde45d626ce91 (patch)
tree1f0efc5ebd80f9ad69f69b2998c25f27dbfb844e /server/lib/activitypub/process
parentad9e39fb815d85e5e718c40540fa75471474fa17 (diff)
downloadPeerTube-16f29007dc6ad9c539195d7a7c1cde45d626ce91.tar.gz
PeerTube-16f29007dc6ad9c539195d7a7c1cde45d626ce91.tar.zst
PeerTube-16f29007dc6ad9c539195d7a7c1cde45d626ce91.zip
Fix cc field in classic audience
Diffstat (limited to 'server/lib/activitypub/process')
-rw-r--r--server/lib/activitypub/process/process-accept.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/process/process-accept.ts b/server/lib/activitypub/process/process-accept.ts
index c55b57820..046370b79 100644
--- a/server/lib/activitypub/process/process-accept.ts
+++ b/server/lib/activitypub/process/process-accept.ts
@@ -2,7 +2,7 @@ import { ActivityAccept } from '../../../../shared/models/activitypub'
2import { getActorUrl } from '../../../helpers/activitypub' 2import { getActorUrl } from '../../../helpers/activitypub'
3import { ActorModel } from '../../../models/activitypub/actor' 3import { ActorModel } from '../../../models/activitypub/actor'
4import { ActorFollowModel } from '../../../models/activitypub/actor-follow' 4import { ActorFollowModel } from '../../../models/activitypub/actor-follow'
5import { addFetchOutboxJob } from '../fetch' 5import { addFetchOutboxJob } from '../actor'
6 6
7async function processAcceptActivity (activity: ActivityAccept, inboxActor?: ActorModel) { 7async function processAcceptActivity (activity: ActivityAccept, inboxActor?: ActorModel) {
8 if (inboxActor === undefined) throw new Error('Need to accept on explicit inbox.') 8 if (inboxActor === undefined) throw new Error('Need to accept on explicit inbox.')