From: squidboi Date: Fri, 8 Jun 2018 04:55:58 +0000 (-0700) Subject: formatting X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5b9e1f228ae21cc1749914d375bb3644e8048df4;p=akkoma formatting --- diff --git a/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex b/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex index eb9580445..9719a48d5 100644 --- a/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex +++ b/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex @@ -20,14 +20,16 @@ defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do true -> "d" end - case visibility do - "p" -> {:ok, object} - "u" -> {:ok, object} - _ -> {:reject, nil} - end + {flag, object_out} = + case visibility do + "p" -> {:ok, object} + "u" -> {:ok, object} + _ -> {:reject, nil} + end + + {flag, object_out} else {:ok, object} end end - end