AP is enabled for all users
This commit is contained in:
parent
ca574e1027
commit
a56565fa99
6 changed files with 14 additions and 15 deletions
|
@ -79,7 +79,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) {
|
||||
if (DBA::isResult($wall_item)) {
|
||||
$data = ActivityPub::createObjectFromItemID($wall_item['id']);
|
||||
echo json_encode($data);
|
||||
exit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue