aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-23 13:27:21 +0100
committerChocobozzz <me@florianbigard.com>2018-03-23 13:27:21 +0100
commit9c673970f66fe91c665e1e3905fa768f57e11a18 (patch)
tree1ecbb1b421b1a5d68254feaff038163f13088a86 /server
parenta465bf5f472227f46af42ec26a22e381aec5d458 (diff)
downloadPeerTube-9c673970f66fe91c665e1e3905fa768f57e11a18.tar.gz
PeerTube-9c673970f66fe91c665e1e3905fa768f57e11a18.tar.zst
PeerTube-9c673970f66fe91c665e1e3905fa768f57e11a18.zip
Add public to activitypub announces
Diffstat (limited to 'server')
-rw-r--r--server/lib/activitypub/send/misc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/send/misc.ts b/server/lib/activitypub/send/misc.ts
index 607822d16..b20fcf124 100644
--- a/server/lib/activitypub/send/misc.ts
+++ b/server/lib/activitypub/send/misc.ts
@@ -126,7 +126,7 @@ function getOriginVideoCommentAudience (
126 126
127function getObjectFollowersAudience (actorsInvolvedInObject: ActorModel[]) { 127function getObjectFollowersAudience (actorsInvolvedInObject: ActorModel[]) {
128 return { 128 return {
129 to: actorsInvolvedInObject.map(a => a.followersUrl), 129 to: [ ACTIVITY_PUB.PUBLIC ].concat(actorsInvolvedInObject.map(a => a.followersUrl)),
130 cc: [] 130 cc: []
131 } 131 }
132} 132}