From 9c673970f66fe91c665e1e3905fa768f57e11a18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Mar 2018 13:27:21 +0100 Subject: Add public to activitypub announces --- server/lib/activitypub/send/misc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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: [] } } -- cgit v1.2.3