Functionality is now split
This commit is contained in:
@@ -48,7 +48,7 @@ class Inbox extends BaseModule
|
||||
$uid = 0;
|
||||
}
|
||||
|
||||
ActivityPub::processInbox($postdata, $_SERVER, $uid);
|
||||
ActivityPub\Receiver::processInbox($postdata, $_SERVER, $uid);
|
||||
|
||||
System::httpExit(202);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ class Objects extends BaseModule
|
||||
System::httpExit(404);
|
||||
}
|
||||
|
||||
$data = ActivityPub::createObjectFromItemID($item['id']);
|
||||
$data = ActivityPub\Transmitter::createObjectFromItemID($item['id']);
|
||||
|
||||
header('Content-Type: application/activity+json');
|
||||
echo json_encode($data);
|
||||
|
||||
Reference in New Issue
Block a user