Skip to content
Snippets Groups Projects
Unverified Commit c4513337 authored by Haelwenn's avatar Haelwenn
Browse files

lib/pleroma/web/activity_pub/mrf/simple_policy.ex: mix format

Hnng!
parent ad28854f
Branches
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment