From 8eb4ab2a3398fe4cf92ddc621e43f253c5dce415 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 30 Sep 2022 07:17:07 +0000 Subject: [PATCH] Added comment for the deactivated part --- src/Protocol/ActivityPub/Transmitter.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 82816e6685..fae9250aac 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -1392,12 +1392,13 @@ class Transmitter // @see https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-e232.md if (!empty($quote_url)) { - $tags[] = [ - 'type' => 'Link', - 'mediaType' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"', - 'href' => $quote_url, - 'name' => BBCode::convertForUriId($item['uri-id'], $quote_url, BBCode::ACTIVITYPUB) - ]; + // Currently deactivated because of compatibility issues with Pleroma + //$tags[] = [ + // 'type' => 'Link', + // 'mediaType' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"', + // 'href' => $quote_url, + // 'name' => BBCode::convertForUriId($item['uri-id'], $quote_url, BBCode::ACTIVITYPUB) + //]; } return $tags; @@ -1694,7 +1695,7 @@ class Transmitter } $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']))) { $data['location'] = self::createLocation($item); -- 2.39.5