Added AP to many network conditions / enabling inbox processing
This commit is contained in:
@@ -32,6 +32,10 @@ class Inbox extends BaseModule
|
||||
$tempfile = tempnam(get_temppath(), $filename);
|
||||
file_put_contents($tempfile, json_encode(['header' => $_SERVER, 'body' => $postdata]));
|
||||
|
||||
System::httpExit(200);
|
||||
logger('Incoming message stored under ' . $tempfile);
|
||||
|
||||
ActivityPub::processInbox($postdata, $_SERVER);
|
||||
|
||||
System::httpExit(202);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user