From: Michael <heluecht@pirati.ca>
Date: Sat, 4 Apr 2020 17:59:08 +0000 (+0000)
Subject: AP: Limited comment distribution
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bdd6e1913acd8091dd1c058aa49b05d99c1ee6a4;p=friendica.git

AP: Limited comment distribution
---

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'];
 								}
 							}