mirror of https://akkoma.dev/AkkomaGang/akkoma
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
|