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