Preparation for "Featured" collection added
This commit is contained in:
parent
e6caed7b5f
commit
61abc6377d
6 changed files with 88 additions and 6 deletions
|
|
@ -232,6 +232,9 @@ class APContact
|
|||
self::unarchiveInbox($apcontact['sharedinbox'], true);
|
||||
}
|
||||
|
||||
$apcontact['featured'] = JsonLD::fetchElement($compacted, 'toot:featured', '@id');
|
||||
$apcontact['featured-tags'] = JsonLD::fetchElement($compacted, 'toot:featuredTags', '@id');
|
||||
|
||||
$apcontact['nick'] = JsonLD::fetchElement($compacted, 'as:preferredUsername', '@value') ?? '';
|
||||
$apcontact['name'] = JsonLD::fetchElement($compacted, 'as:name', '@value');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue