logo

pleroma

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

mrf_module_mock.ex (374B)


  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 MRFModuleMock do
  5. @behaviour Pleroma.Web.ActivityPub.MRF.Policy
  6. @impl true
  7. def filter(message), do: {:ok, message}
  8. @impl true
  9. def describe, do: {:ok, %{mrf_module_mock: "some config data"}}
  10. end