Support for fetching non-public content / preparations for forum posts

This commit is contained in:
Michael 2018-11-03 21:37:08 +00:00
parent 1395bdc188
commit 8f27e3aeb1
5 changed files with 188 additions and 30 deletions

View file

@ -301,7 +301,9 @@ class Processor
return;
}
$object = ActivityPub::fetchContent($url);
$uid = ActivityPub\Receiver::getFirstUserFromReceivers($child['receiver']);
$object = ActivityPub::fetchContent($url, $uid);
if (empty($object)) {
Logger::log('Activity ' . $url . ' was not fetchable, aborting.');
return;