mirror of
https://github.com/friendica/friendica
synced 2025-04-22 18:30:13 +00:00
AP class will be split in processor, receiver and transmitter
This commit is contained in:
parent
76cdc9e594
commit
4d2e5c2bbe
7 changed files with 1906 additions and 145 deletions
|
@ -29,7 +29,7 @@ class Followers extends BaseModule
|
|||
|
||||
$page = defaults($_REQUEST, 'page', null);
|
||||
|
||||
$followers = ActivityPub::getFollowers($owner, $page);
|
||||
$followers = ActivityPub\Transmitter::getFollowers($owner, $page);
|
||||
|
||||
header('Content-Type: application/activity+json');
|
||||
echo json_encode($followers);
|
||||
|
|
|
@ -29,7 +29,7 @@ class Following extends BaseModule
|
|||
|
||||
$page = defaults($_REQUEST, 'page', null);
|
||||
|
||||
$Following = ActivityPub::getFollowing($owner, $page);
|
||||
$Following = ActivityPub\Transmitter::getFollowing($owner, $page);
|
||||
|
||||
header('Content-Type: application/activity+json');
|
||||
echo json_encode($Following);
|
||||
|
|
|
@ -29,7 +29,7 @@ class Outbox extends BaseModule
|
|||
|
||||
$page = defaults($_REQUEST, 'page', null);
|
||||
|
||||
$outbox = ActivityPub::getOutbox($owner, $page);
|
||||
$outbox = ActivityPub\Transmitter::getOutbox($owner, $page);
|
||||
|
||||
header('Content-Type: application/activity+json');
|
||||
echo json_encode($outbox);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue