logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: e2cdae2c88eb22588209923d83c2a9c52d16c48c
parent 16a9b34876f3a9289c02253e802bffdac4901ac0
Author: Mark Felder <feld@feld.me>
Date:   Thu, 29 Aug 2024 14:23:07 -0400

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

Diffstat:

Mlib/pleroma/web/activity_pub/activity_pub_controller.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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