From a3d645645a6227c89261079f80aaccf847f7b6f6 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 31 Jan 2023 05:45:24 +0000 Subject: [PATCH] Fix #12757 --- src/Module/ActivityPub/Inbox.php | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- 2.39.5