From 276d03ed1a469fd4e3579f92392b6f9a1567d1ca Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Feb 2018 10:07:02 +0100 Subject: Unlisted videos are not displayed on Mastodon now --- server/lib/activitypub/send/misc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/activitypub/send/misc.ts') diff --git a/server/lib/activitypub/send/misc.ts b/server/lib/activitypub/send/misc.ts index 7a21f0c94..607822d16 100644 --- a/server/lib/activitypub/send/misc.ts +++ b/server/lib/activitypub/send/misc.ts @@ -153,8 +153,8 @@ function buildAudience (followerInboxUrls: string[], isPublic = true) { to = [ ACTIVITY_PUB.PUBLIC ] cc = followerInboxUrls } else { // Unlisted - to = followerInboxUrls - cc = [ ACTIVITY_PUB.PUBLIC ] + to = [ ] + cc = [ ] } return { to, cc } -- cgit v1.2.3