From: William Pitcock Date: Mon, 6 Aug 2018 07:34:39 +0000 (+0000) Subject: relay: remove @allow_relay for the moment X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f9b0fc4ddb84a064e2da927a6a00ddc5ad23c5ee;p=akkoma relay: remove @allow_relay for the moment --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index fc9d2d988..3cb996262 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -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