Merge pull request #8494 from annando/ap-fix-comments

AP: Limited comment distribution
This commit is contained in:
Hypolite Petovan
2020-04-05 08:19:44 -04:00
committed by GitHub

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