From bdd6e1913acd8091dd1c058aa49b05d99c1ee6a4 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 4 Apr 2020 17:59:08 +0000 Subject: [PATCH] AP: Limited comment distribution --- src/Protocol/ActivityPub/Transmitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 837e81c1e9..ecda2dc683 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -478,7 +478,7 @@ class Transmitter $data['to'][] = $profile['url']; } else { $data['cc'][] = $profile['url']; - if (($item['private'] != Item::PRIVATE) && $item['private'] && !empty($actor_profile['followers'])) { + if (($item['private'] != Item::PRIVATE) && !empty($actor_profile['followers'])) { $data['cc'][] = $actor_profile['followers']; } } -- 2.39.5