From: Michael Date: Tue, 31 Jan 2023 05:45:24 +0000 (+0000) Subject: Fix #12757 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3d645645a6227c89261079f80aaccf847f7b6f6;p=friendica.git Fix #12757 --- diff --git a/src/Module/ActivityPub/Inbox.php b/src/Module/ActivityPub/Inbox.php index 4470040a90..3ca3c7d779 100644 --- a/src/Module/ActivityPub/Inbox.php +++ b/src/Module/ActivityPub/Inbox.php @@ -27,15 +27,22 @@ use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\User; use Friendica\Module\BaseApi; +use Friendica\Module\Special\HTTPException; use Friendica\Protocol\ActivityPub; use Friendica\Util\HTTPSignature; use Friendica\Util\Network; +use Psr\Http\Message\ResponseInterface; /** * ActivityPub Inbox */ class Inbox extends BaseApi { + public function run(HTTPException $httpException, array $request = [], bool $scopecheck = true): ResponseInterface + { + return parent::run($httpException, $request, false); + } + protected function rawContent(array $request = []) { self::checkAllowedScope(self::SCOPE_READ);