logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

good_mrf.ex (527B)


  1. # Pleroma: A lightweight social networking server
  2. # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
  3. # SPDX-License-Identifier: AGPL-3.0-only
  4. defmodule Fixtures.Modules.GoodMRF do
  5. @behaviour Pleroma.Web.ActivityPub.MRF.Policy
  6. @impl true
  7. def filter(a), do: {:ok, a}
  8. @impl true
  9. def describe, do: %{}
  10. @impl true
  11. def config_description do
  12. %{
  13. key: :good_mrf,
  14. related_policy: "Fixtures.Modules.GoodMRF",
  15. label: "Good MRF",
  16. description: "Some description"
  17. }
  18. end
  19. end