formatting
authorWilliam Pitcock <nenolod@dereferenced.org>
Sun, 2 Jun 2019 10:29:15 +0000 (10:29 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Sun, 2 Jun 2019 10:29:15 +0000 (10:29 +0000)
config/config.exs
lib/pleroma/web/activity_pub/mrf/subchain_policy.ex

index 450da89304e2d75858c8efa550d8ae1fa34aaf69..a5bb05a8009d82c766e6c34710df90177ae833dc 100644 (file)
@@ -320,8 +320,7 @@ config :pleroma, :mrf_keyword,
   federated_timeline_removal: [],
   replace: []
 
-config :pleroma, :mrf_subchain,
-  match_actor: %{}
+config :pleroma, :mrf_subchain, match_actor: %{}
 
 config :pleroma, :rich_media, enabled: true
 
index 7fb4a607e85fe0b0d464195eaa0e915bb8c3dd6a..765704389769ccf21fb80946e0c0efed67f75cb3 100644 (file)
@@ -22,7 +22,11 @@ defmodule Pleroma.Web.ActivityPub.MRF.SubchainPolicy do
   @impl true
   def filter(%{"actor" => actor} = message) do
     with {:ok, match, subchain} <- lookup_subchain(actor) do
-      Logger.debug("[SubchainPolicy] Matched #{actor} against #{inspect(match)} with subchain #{inspect(subchain)}")
+      Logger.debug(
+        "[SubchainPolicy] Matched #{actor} against #{inspect(match)} with subchain #{
+          inspect(subchain)
+        }"
+      )
 
       subchain
       |> MRF.filter(message)