Added comment for the deactivated part
This commit is contained in:
parent
d43b85e94b
commit
8eb4ab2a33
|
@ -1392,12 +1392,13 @@ class Transmitter
|
||||||
|
|
||||||
// @see https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-e232.md
|
// @see https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-e232.md
|
||||||
if (!empty($quote_url)) {
|
if (!empty($quote_url)) {
|
||||||
$tags[] = [
|
// Currently deactivated because of compatibility issues with Pleroma
|
||||||
'type' => 'Link',
|
//$tags[] = [
|
||||||
'mediaType' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
// 'type' => 'Link',
|
||||||
'href' => $quote_url,
|
// 'mediaType' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
||||||
'name' => BBCode::convertForUriId($item['uri-id'], $quote_url, BBCode::ACTIVITYPUB)
|
// 'href' => $quote_url,
|
||||||
];
|
// 'name' => BBCode::convertForUriId($item['uri-id'], $quote_url, BBCode::ACTIVITYPUB)
|
||||||
|
//];
|
||||||
}
|
}
|
||||||
|
|
||||||
return $tags;
|
return $tags;
|
||||||
|
@ -1694,7 +1695,7 @@ class Transmitter
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['attachment'] = self::createAttachmentList($item);
|
$data['attachment'] = self::createAttachmentList($item);
|
||||||
$data['tag'] = self::createTagList($item, ''); // $data['quoteUrl'] ??
|
$data['tag'] = self::createTagList($item, $data['quoteUrl'] ?? '');
|
||||||
|
|
||||||
if (empty($data['location']) && (!empty($item['coord']) || !empty($item['location']))) {
|
if (empty($data['location']) && (!empty($item['coord']) || !empty($item['location']))) {
|
||||||
$data['location'] = self::createLocation($item);
|
$data['location'] = self::createLocation($item);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user