Add public to activitypub announces

This commit is contained in:
Chocobozzz 2018-03-23 13:27:21 +01:00
parent a465bf5f47
commit 9c673970f6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -126,7 +126,7 @@ function getOriginVideoCommentAudience (
function getObjectFollowersAudience (actorsInvolvedInObject: ActorModel[]) { function getObjectFollowersAudience (actorsInvolvedInObject: ActorModel[]) {
return { return {
to: actorsInvolvedInObject.map(a => a.followersUrl), to: [ ACTIVITY_PUB.PUBLIC ].concat(actorsInvolvedInObject.map(a => a.followersUrl)),
cc: [] cc: []
} }
} }