projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad68aaa
)
AP: Limited comment distribution
author
Michael
<heluecht@pirati.ca>
Sat, 4 Apr 2020 17:53:48 +0000
(17:53 +0000)
committer
Michael
<heluecht@pirati.ca>
Sat, 4 Apr 2020 17:53:48 +0000
(17:53 +0000)
src/Protocol/ActivityPub/Transmitter.php
patch
|
blob
|
history
diff --git
a/src/Protocol/ActivityPub/Transmitter.php
b/src/Protocol/ActivityPub/Transmitter.php
index 837e81c1e95d93f17f64983aee7d93334eccbe62..ecda2dc683b560ef5fe3b0346d7e64084908cdaa 100644
(file)
--- 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'];
}
}