AP: Limited comment distribution

This commit is contained in:
Michael 2020-04-04 17:53:48 +00:00
parent ad68aaae3f
commit 320b6b9246

View file

@ -478,7 +478,7 @@ class Transmitter
$data['to'][] = $profile['url']; $data['to'][] = $profile['url'];
} else { } else {
$data['cc'][] = $profile['url']; $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']; $data['cc'][] = $actor_profile['followers'];
} }
} }