New delivery module for ap
This commit is contained in:
parent
91d1b4de5d
commit
f772ece86f
7 changed files with 183 additions and 89 deletions
|
@ -80,7 +80,7 @@ function display_init(App $a)
|
|||
if (ActivityPub::isRequest()) {
|
||||
$wall_item = Item::selectFirst(['id', 'uid'], ['guid' => $item['guid'], 'wall' => true]);
|
||||
if ($wall_item['uid'] == 180) {
|
||||
$data = ActivityPub::createActivityFromItem($wall_item['id']);
|
||||
$data = ActivityPub::createObjectFromItemID($wall_item['id']);
|
||||
echo json_encode($data);
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue