Change relay inbox response when not federating to a 403 for consistency

This commit is contained in:
Mark Felder 2024-08-29 14:23:07 -04:00
parent 16a9b34876
commit e2cdae2c88

View file

@ -311,7 +311,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
post_inbox_relayed_create(conn, params)
else
conn
|> put_status(:bad_request)
|> put_status(403)
|> json("Not federating")
end
end