diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-25 11:17:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-25 11:17:41 +0200 |
commit | 16f29007dc6ad9c539195d7a7c1cde45d626ce91 (patch) | |
tree | 1f0efc5ebd80f9ad69f69b2998c25f27dbfb844e /server/lib/activitypub/process | |
parent | ad9e39fb815d85e5e718c40540fa75471474fa17 (diff) | |
download | PeerTube-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.ts | 2 |
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' | |||
2 | import { getActorUrl } from '../../../helpers/activitypub' | 2 | import { getActorUrl } from '../../../helpers/activitypub' |
3 | import { ActorModel } from '../../../models/activitypub/actor' | 3 | import { ActorModel } from '../../../models/activitypub/actor' |
4 | import { ActorFollowModel } from '../../../models/activitypub/actor-follow' | 4 | import { ActorFollowModel } from '../../../models/activitypub/actor-follow' |
5 | import { addFetchOutboxJob } from '../fetch' | 5 | import { addFetchOutboxJob } from '../actor' |
6 | 6 | ||
7 | async function processAcceptActivity (activity: ActivityAccept, inboxActor?: ActorModel) { | 7 | async 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.') |