X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FJsonLD.php;h=69973f4febf7d95757189a7e36b8a3ffa4c04b10;hb=295d90d496a56217383481fa7a0153e0ac48e38a;hp=9566c424adf77937cd9658bd5407c5b9e7068eba;hpb=4276926d8d035db34567c3c676a9faa713e703b1;p=friendica.git diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index 9566c424ad..69973f4feb 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -96,7 +96,8 @@ class JsonLD 'diaspora' => (object)['@id' => 'https://diasporafoundation.org/ns/', '@type' => '@id'], 'ostatus' => (object)['@id' => 'http://ostatus.org#', '@type' => '@id'], 'dc' => (object)['@id' => 'http://purl.org/dc/terms/', '@type' => '@id'], - 'toot' => (object)['@id' => 'http://joinmastodon.org/ns#', '@type' => '@id']]; + 'toot' => (object)['@id' => 'http://joinmastodon.org/ns#', '@type' => '@id'], + 'litepub' => (object)['@id' => 'http://litepub.social/ns#', '@type' => '@id']]; // Preparation for adding possibly missing content to the context if (!empty($json['@context']) && is_string($json['@context'])) {