Update FederationController

This commit is contained in:
Daniel Supernault 2018-11-07 20:18:30 -07:00
parent 6b798954e4
commit 05745d2fb3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 5 additions and 3 deletions

View File

@ -167,9 +167,11 @@ XML;
public function userInbox(Request $request, $username) public function userInbox(Request $request, $username)
{ {
if (config('pixelfed.activitypub_enabled') == false) { // if (config('pixelfed.activitypub_enabled') == false || config('pixelfed.ap_inbox') == false) {
abort(403); // abort(403, 'Inbox support disabled');
} // }
return;
$type = [ $type = [
'application/activity+json' 'application/activity+json'
]; ];