Allow longer avatar URLs / the system outbox is now handled

This commit is contained in:
Michael 2023-12-15 10:39:41 +00:00
parent 33102a76da
commit 0a4f0d616a
3 changed files with 6 additions and 6 deletions

View file

@ -21,7 +21,6 @@
namespace Friendica\Module\ActivityPub;
use Friendica\Core\System;
use Friendica\Model\User;
use Friendica\Module\BaseApi;
use Friendica\Protocol\ActivityPub;
@ -36,7 +35,7 @@ class Outbox extends BaseApi
protected function rawContent(array $request = [])
{
if (empty($this->parameters['nickname'])) {
throw new \Friendica\Network\HTTPException\NotFoundException();
$this->jsonExit([], 'application/activity+json');
}
$owner = User::getOwnerDataByNick($this->parameters['nickname']);