소스 검색

Update FederationController

Daniel Supernault 6 년 전
부모
커밋
05745d2fb3
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      app/Http/Controllers/FederationController.php

+ 5 - 3
app/Http/Controllers/FederationController.php

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