aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-06-21 19:28:39 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-06-23 16:12:57 +0200
commitc45133377ae757f7dfa9eec0a3bed4b3feb60b93 (patch)
tree348820b144e5340ddc0d95f682873a24896053a1 /lib
parentad28854f477141dc9b6a01f7e4465c07bb0f896c (diff)
downloadpleroma-c45133377ae757f7dfa9eec0a3bed4b3feb60b93.tar.gz
lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format
Hnng!
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/activity_pub/mrf/simple_policy.ex2
1 files changed, 1 insertions, 1 deletions
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}