mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
Sending direct messages via AP does work now - receiving is pending
This commit is contained in:
parent
4161f5ebe0
commit
87b98b8249
5 changed files with 113 additions and 4 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue