2020-11-10 08:18:53 -08:00
|
|
|
defmodule Fixtures.Modules.GoodMRF do
|
2021-06-07 12:22:08 -07:00
|
|
|
@behaviour Pleroma.Web.ActivityPub.MRF.Policy
|
2020-11-10 08:18:53 -08:00
|
|
|
|
|
|
|
@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
|