relay: remove @allow_relay for the moment
authorWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 07:34:39 +0000 (07:34 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Mon, 6 Aug 2018 08:22:13 +0000 (08:22 +0000)
lib/pleroma/web/router.ex

index fc9d2d98855468b26df56bb8c24783d769137a90..3cb9962620967dec8f112839583ba3dc8ca88e53 100644 (file)
@@ -319,12 +319,10 @@ defmodule Pleroma.Web.Router do
   end
 
   if @federating do
-    if @allow_relay do
-      scope "/", Pleroma.Web.ActivityPub do
-        # XXX: not really ostatus either
-        pipe_through(:ostatus)
-        get("/", ActivityPubController, :relay)
-      end
+    scope "/", Pleroma.Web.ActivityPub do
+      # XXX: not really ostatus either
+      pipe_through(:ostatus)
+      get("/", ActivityPubController, :relay)
     end
 
     scope "/", Pleroma.Web.ActivityPub do