Soem more C2S stuff moved

This commit is contained in:
Michael 2023-02-13 23:49:08 +00:00
parent 12be32249b
commit 2367f54d41
4 changed files with 136 additions and 132 deletions

View file

@ -51,8 +51,7 @@ class Outbox extends BaseApi
$page = 1;
}
$requester = HTTPSignature::getSigner('', $_SERVER);
$outbox = ActivityPub\Transmitter::getOutbox($owner, $uid, $page, $request['max_id'] ?? null, $requester);
$outbox = ActivityPub\ClientToServer::getOutbox($owner, $uid, $page, $request['max_id'] ?? null, HTTPSignature::getSigner('', $_SERVER));
System::jsonExit($outbox, 'application/activity+json');
}