mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
AP: Parsing of messages from Pleroma should work now again
This commit is contained in:
parent
dc154ac07d
commit
eef85584c2
4 changed files with 43 additions and 39 deletions
|
@ -118,7 +118,7 @@ class APContact extends BaseObject
|
|||
|
||||
$apcontact = [];
|
||||
$apcontact['url'] = $compacted['@id'];
|
||||
$apcontact['uuid'] = JsonLD::fetchElement($compacted, 'diaspora:guid');
|
||||
$apcontact['uuid'] = JsonLD::fetchElement($compacted, 'diaspora:guid', '@value');
|
||||
$apcontact['type'] = str_replace('as:', '', JsonLD::fetchElement($compacted, '@type'));
|
||||
$apcontact['following'] = JsonLD::fetchElement($compacted, 'as:following', '@id');
|
||||
$apcontact['followers'] = JsonLD::fetchElement($compacted, 'as:followers', '@id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue