mirror of
https://github.com/friendica/friendica
synced 2025-04-27 16:30:10 +00:00
We now directly support the custom emojis from Mastodon
This commit is contained in:
parent
27dd913fcc
commit
cd2c7f782f
3 changed files with 59 additions and 4 deletions
|
@ -90,7 +90,8 @@ class JsonLD
|
|||
'dfrn' => (object)['@id' => 'http://purl.org/macgirvin/dfrn/1.0/', '@type' => '@id'],
|
||||
'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']];
|
||||
'dc' => (object)['@id' => 'http://purl.org/dc/terms/', '@type' => '@id'],
|
||||
'toot' => (object)['@id' => 'http://joinmastodon.org/ns#', '@type' => '@id']];
|
||||
|
||||
$jsonobj = json_decode(json_encode($json, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue