https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a420f
)
Fix another fatal error
author
Michael
<heluecht@pirati.ca>
Tue, 11 Jun 2019 06:02:18 +0000
(06:02 +0000)
committer
Michael
<heluecht@pirati.ca>
Tue, 11 Jun 2019 06:02:18 +0000
(06:02 +0000)
src/Protocol/ActivityPub/Transmitter.php
patch
|
blob
|
history
diff --git
a/src/Protocol/ActivityPub/Transmitter.php
b/src/Protocol/ActivityPub/Transmitter.php
index
06dbaee
..
5f33257
100644
(file)
--- a/
src/Protocol/ActivityPub/Transmitter.php
+++ b/
src/Protocol/ActivityPub/Transmitter.php
@@
-436,7
+436,7
@@
class Transmitter
$data['to'][] = $profile['url'];
} else {
$data['cc'][] = $profile['url'];
- if (!$item['private']) {
+ if (!$item['private']
&& !empty($actor_profile['followers'])
) {
$data['cc'][] = $actor_profile['followers'];
}
}