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