diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-13 17:33:59 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-13 17:33:59 +0100 |
commit | ab18fadfd1104ff2fab1b7e90915426a0c707b7f (patch) | |
tree | 2781b93a6dbd54b7acda8276699eeab14447656d /server/lib/activitypub/send/send-create.ts | |
parent | 97f026c7f02d145eb22f7bf67c13ca52385fd0e1 (diff) | |
download | PeerTube-ab18fadfd1104ff2fab1b7e90915426a0c707b7f.tar.gz PeerTube-ab18fadfd1104ff2fab1b7e90915426a0c707b7f.tar.zst PeerTube-ab18fadfd1104ff2fab1b7e90915426a0c707b7f.zip |
Fix AP audience
Diffstat (limited to 'server/lib/activitypub/send/send-create.ts')
-rw-r--r-- | server/lib/activitypub/send/send-create.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/send/send-create.ts b/server/lib/activitypub/send/send-create.ts index f46317163..baded642a 100644 --- a/server/lib/activitypub/send/send-create.ts +++ b/server/lib/activitypub/send/send-create.ts | |||
@@ -116,7 +116,7 @@ function buildCreateActivity (url: string, byActor: MActorLight, object: any, au | |||
116 | type: 'Create' as 'Create', | 116 | type: 'Create' as 'Create', |
117 | id: url + '/activity', | 117 | id: url + '/activity', |
118 | actor: byActor.url, | 118 | actor: byActor.url, |
119 | object | 119 | object: audiencify(object, audience) |
120 | }, | 120 | }, |
121 | audience | 121 | audience |
122 | ) | 122 | ) |