diff options
author | Mark Felder <feld@feld.me> | 2024-08-29 14:23:07 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-08-29 16:05:40 -0400 |
commit | e2cdae2c88eb22588209923d83c2a9c52d16c48c (patch) | |
tree | 0898b8158557f51a9c489e94401b3b68569af362 | |
parent | 16a9b34876f3a9289c02253e802bffdac4901ac0 (diff) | |
download | pleroma-e2cdae2c88eb22588209923d83c2a9c52d16c48c.tar.gz pleroma-e2cdae2c88eb22588209923d83c2a9c52d16c48c.zip |
Change relay inbox response when not federating to a 403 for consistency
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index cdd054e1a..a08eda5f4 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -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 |