2022-02-26 06:11:42 +00:00
|
|
|
# Pleroma: A lightweight social networking server
|
2023-01-01 11:11:47 +00:00
|
|
|
# Copyright © 2017-2023 Pleroma Authors <https://pleroma.social/>
|
2022-02-26 06:11:42 +00:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2020-11-10 16:18:53 +00:00
|
|
|
defmodule Fixtures.Modules.GoodMRF do
|
2021-06-07 19:22:08 +00:00
|
|
|
@behaviour Pleroma.Web.ActivityPub.MRF.Policy
|
2020-11-10 16:18:53 +00: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
|