relay: remove @allow_relay for the moment

This commit is contained in:
William Pitcock 2018-08-06 07:34:39 +00:00
parent 266b314051
commit f9b0fc4ddb
1 changed files with 4 additions and 6 deletions

View File

@ -319,13 +319,11 @@ def user_fetcher(username) do
end end
if @federating do if @federating do
if @allow_relay do
scope "/", Pleroma.Web.ActivityPub do scope "/", Pleroma.Web.ActivityPub do
# XXX: not really ostatus either # XXX: not really ostatus either
pipe_through(:ostatus) pipe_through(:ostatus)
get("/", ActivityPubController, :relay) get("/", ActivityPubController, :relay)
end end
end
scope "/", Pleroma.Web.ActivityPub do scope "/", Pleroma.Web.ActivityPub do
pipe_through(:activitypub) pipe_through(:activitypub)