logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 500e126604a69436ce3e48e93d21711940f978e6
parent e219e504ceb059a70b02875ab5102cb0333100d7
Author: lain <lain@soykaf.club>
Date:   Tue,  7 Dec 2021 16:55:01 +0000

Merge branch 'pleroma-result-1_13' into 'develop'

move result into with guard

See merge request pleroma/pleroma!3557

Diffstat:

Mlib/pleroma/web/activity_pub/publisher.ex3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex @@ -63,8 +63,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do date: date }) - with {:ok, %{status: code}} when code in 200..299 <- - result = + with {:ok, %{status: code}} = result when code in 200..299 <- HTTP.post( inbox, json,