Fetch replies to fetched posts

This commit is contained in:
Michael 2024-06-25 11:39:30 +00:00
parent a824572311
commit 2eadad49db
10 changed files with 217 additions and 70 deletions

View file

@ -2070,6 +2070,7 @@ class Receiver
$object_data['generator'] = JsonLD::fetchElement($object, 'as:generator', 'as:name', '@type', 'as:Application');
$object_data['generator'] = JsonLD::fetchElement($object_data, 'generator', '@value');
$object_data['alternate-url'] = JsonLD::fetchElement($object, 'as:url', '@id');
$object_data['replies'] = JsonLD::fetchElement($object, 'as:replies', '@id');
// Special treatment for Hubzilla links
if (is_array($object_data['alternate-url'])) {