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