summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-08-29 14:23:07 -0400
committerMark Felder <feld@feld.me>2024-08-29 16:05:40 -0400
commite2cdae2c88eb22588209923d83c2a9c52d16c48c (patch)
tree0898b8158557f51a9c489e94401b3b68569af362
parent16a9b34876f3a9289c02253e802bffdac4901ac0 (diff)
downloadpleroma-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.ex2
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