]> git.mxchange.org Git - friendica.git/commitdiff
AP: Limited comment distribution
authorMichael <heluecht@pirati.ca>
Sat, 4 Apr 2020 17:59:08 +0000 (17:59 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 4 Apr 2020 17:59:08 +0000 (17:59 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 837e81c1e95d93f17f64983aee7d93334eccbe62..ecda2dc683b560ef5fe3b0346d7e64084908cdaa 100644 (file)
@@ -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'];
                                                                }
                                                        }