From: Haelwenn (lanodan) Monnier Date: Thu, 21 Jun 2018 17:28:39 +0000 (+0200) Subject: lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c45133377ae757f7dfa9eec0a3bed4b3feb60b93;p=akkoma lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format Hnng! --- diff --git a/lib/pleroma/web/activity_pub/mrf/simple_policy.ex b/lib/pleroma/web/activity_pub/mrf/simple_policy.ex index 0a047013a..7fecb8a4f 100644 --- a/lib/pleroma/web/activity_pub/mrf/simple_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/simple_policy.ex @@ -6,7 +6,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicy do @accept Keyword.get(@mrf_policy, :accept) defp check_accept(actor_info, object) do - if length(@accept) > 0 and not actor_info.host in @accept do + if length(@accept) > 0 and not (actor_info.host in @accept) do {:reject, nil} else {:ok, object}