1
1
Fork 0

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
commit 0eab66253e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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