Reverted change
This commit is contained in:
parent
22952f88ca
commit
00f39cd308
|
@ -702,6 +702,7 @@ class Transmitter
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (['to' => Tag::TO, 'cc' => Tag::CC, 'bcc' => Tag::BCC] as $element => $type) {
|
foreach (['to' => Tag::TO, 'cc' => Tag::CC, 'bcc' => Tag::BCC] as $element => $type) {
|
||||||
|
if (!empty($receivers[$element])) {
|
||||||
foreach ($receivers[$element] as $receiver) {
|
foreach ($receivers[$element] as $receiver) {
|
||||||
if ($receiver == ActivityPub::PUBLIC_COLLECTION) {
|
if ($receiver == ActivityPub::PUBLIC_COLLECTION) {
|
||||||
$name = Receiver::PUBLIC_COLLECTION;
|
$name = Receiver::PUBLIC_COLLECTION;
|
||||||
|
@ -711,6 +712,7 @@ class Transmitter
|
||||||
Tag::store($item['uri-id'], $type, $name, $receiver);
|
Tag::store($item['uri-id'], $type, $name, $receiver);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return $receivers;
|
return $receivers;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user