From: Chocobozzz Date: Fri, 23 Mar 2018 12:27:21 +0000 (+0100) Subject: Add public to activitypub announces X-Git-Tag: v1.0.0-beta.2~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9c673970f66fe91c665e1e3905fa768f57e11a18;p=oweals%2Fpeertube.git Add public to activitypub announces --- 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 ( function getObjectFollowersAudience (actorsInvolvedInObject: ActorModel[]) { return { - to: actorsInvolvedInObject.map(a => a.followersUrl), + to: [ ACTIVITY_PUB.PUBLIC ].concat(actorsInvolvedInObject.map(a => a.followersUrl)), cc: [] } }