mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-11 11:31:32 +00:00
Change relay inbox response when not federating to a 403 for consistency
This commit is contained in:
parent
16a9b34876
commit
e2cdae2c88
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
|
||||||
post_inbox_relayed_create(conn, params)
|
post_inbox_relayed_create(conn, params)
|
||||||
else
|
else
|
||||||
conn
|
conn
|
||||||
|> put_status(:bad_request)
|
|> put_status(403)
|
||||||
|> json("Not federating")
|
|> json("Not federating")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue