Reverted change
This commit is contained in:
parent
22952f88ca
commit
00f39cd308
|
@ -702,13 +702,15 @@ 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) {
|
||||||
foreach ($receivers[$element] as $receiver) {
|
if (!empty($receivers[$element])) {
|
||||||
if ($receiver == ActivityPub::PUBLIC_COLLECTION) {
|
foreach ($receivers[$element] as $receiver) {
|
||||||
$name = Receiver::PUBLIC_COLLECTION;
|
if ($receiver == ActivityPub::PUBLIC_COLLECTION) {
|
||||||
} else {
|
$name = Receiver::PUBLIC_COLLECTION;
|
||||||
$name = trim(parse_url($receiver, PHP_URL_PATH), '/');
|
} else {
|
||||||
|
$name = trim(parse_url($receiver, PHP_URL_PATH), '/');
|
||||||
|
}
|
||||||
|
Tag::store($item['uri-id'], $type, $name, $receiver);
|
||||||
}
|
}
|
||||||
Tag::store($item['uri-id'], $type, $name, $receiver);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user