From: squidboi Date: Fri, 8 Jun 2018 05:14:39 +0000 (-0700) Subject: final format X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6e7f91bf8fdc355afe48bccd1ccde3340c514eae;p=akkoma final format --- 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 e3fcc4447..fe257214e 100644 --- a/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex +++ b/lib/pleroma/web/activity_pub/mrf/reject_non_public.ex @@ -17,14 +17,11 @@ defmodule Pleroma.Web.ActivityPub.MRF.RejectNonPublic do true -> "direct" end - {flag, object_out} = - case visibility do - "public" -> {:ok, object} - "unlisted" -> {:ok, object} - _ -> {:reject, nil} - end - - {flag, object_out} + case visibility do + "public" -> {:ok, object} + "unlisted" -> {:ok, object} + _ -> {:reject, nil} + end else {:ok, object} end