From: Michael Date: Fri, 30 Sep 2022 07:17:07 +0000 (+0000) Subject: Added comment for the deactivated part X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8eb4ab2a3398fe4cf92ddc621e43f253c5dce415;p=friendica.git Added comment for the deactivated part --- 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);