aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/send
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/activitypub/send')
-rw-r--r--server/lib/activitypub/send/misc.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/lib/activitypub/send/misc.ts b/server/lib/activitypub/send/misc.ts
index b2d968c9c..646aa9f0a 100644
--- a/server/lib/activitypub/send/misc.ts
+++ b/server/lib/activitypub/send/misc.ts
@@ -139,9 +139,7 @@ async function getActorsInvolvedInVideo (video: VideoModel, t: Transaction) {
139} 139}
140 140
141async function getAudience (actorSender: ActorModel, t: Transaction, isPublic = true) { 141async function getAudience (actorSender: ActorModel, t: Transaction, isPublic = true) {
142 const followerInboxUrls = await actorSender.getFollowerSharedInboxUrls(t) 142 return buildAudience([ actorSender.followersUrl ], isPublic)
143
144 return buildAudience(followerInboxUrls, isPublic)
145} 143}
146 144
147function buildAudience (followerInboxUrls: string[], isPublic = true) { 145function buildAudience (followerInboxUrls: string[], isPublic = true) {