X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FJsonLD.php;h=beb01f0cc1106f54683ed1454e15e9a8f1d8b111;hb=0a45bdd3b71ec0f8744abb3830858a91a4bca146;hp=4409b25dc59d22806b79be24a2aeb037d4147c0c;hpb=e733adcaae54d0efbf537e62eb9380c83b49c0bd;p=friendica.git diff --git a/src/Util/JsonLD.php b/src/Util/JsonLD.php index 4409b25dc5..beb01f0cc1 100644 --- a/src/Util/JsonLD.php +++ b/src/Util/JsonLD.php @@ -1,6 +1,6 @@ $url]); @@ -177,12 +183,6 @@ class JsonLD if (!in_array('https://w3id.org/security/v1', $json['@context'])) { $json['@context'][] = 'https://w3id.org/security/v1'; } - - // Issue 12419: Workaround for GoToSocial - $pos = array_search('http://joinmastodon.org/ns', $json['@context']); - if (is_int($pos)) { - $json['@context'][$pos] = ['toot' => 'http://joinmastodon.org/ns#']; - } } // Bookwyrm transmits "id" fields with "null", which isn't allowed.