]> git.mxchange.org Git - friendica.git/commitdiff
Additional change to the quickfix
authorMichael <heluecht@pirati.ca>
Sun, 16 May 2021 14:59:02 +0000 (14:59 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 16 May 2021 14:59:02 +0000 (14:59 +0000)
src/Util/JsonLD.php

index 15733ac7f8c679b4d609dab321ce74ca9dfc7923..50396474a6bbbf02cc83ca34bbbda43b25d357bb 100644 (file)
@@ -152,7 +152,7 @@ class JsonLD
                jsonld_set_document_loader('Friendica\Util\JsonLD::documentLoader');
 
                $context = (object)['as' => 'https://www.w3.org/ns/activitystreams#',
-                       'w3id' => 'https://w3id.org/security#',
+                       'w3id' => (object)['@id' => 'https://w3id.org/security#', '@type' => '@id'],
                        'ldp' => (object)['@id' => 'http://www.w3.org/ns/ldp#', '@type' => '@id'],
                        'vcard' => (object)['@id' => 'http://www.w3.org/2006/vcard/ns#', '@type' => '@id'],
                        'dfrn' => (object)['@id' => 'http://purl.org/macgirvin/dfrn/1.0/', '@type' => '@id'],