Now sending does finally work - and some AP standards are improved as well
This commit is contained in:
parent
e4d28629e4
commit
699a4140f9
5 changed files with 27 additions and 20 deletions
|
@ -77,7 +77,7 @@ function display_init(App $a)
|
|||
displayShowFeed($item["id"], false);
|
||||
}
|
||||
|
||||
if (stristr(defaults($_SERVER, 'HTTP_ACCEPT', ''), 'application/activity+json')) {
|
||||
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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue