federated_timeline_removal: [],
replace: []
-config :pleroma, :mrf_subchain,
- match_actor: %{}
+config :pleroma, :mrf_subchain, match_actor: %{}
config :pleroma, :rich_media, enabled: true
@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)