mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-28 03:13:13 +00:00
fe4c4a7178
Speeds up recompilation by reducing compile-time deps
20 lines
368 B
Elixir
20 lines
368 B
Elixir
defmodule Fixtures.Modules.GoodMRF do
|
|
@behaviour Pleroma.Web.ActivityPub.MRF.Policy
|
|
|
|
@impl true
|
|
def filter(a), do: {:ok, a}
|
|
|
|
@impl true
|
|
def describe, do: %{}
|
|
|
|
@impl true
|
|
def config_description do
|
|
%{
|
|
key: :good_mrf,
|
|
related_policy: "Fixtures.Modules.GoodMRF",
|
|
label: "Good MRF",
|
|
description: "Some description"
|
|
}
|
|
end
|
|
end
|