MRF: create MRF.Policy behaviour separate from MRF module
Speeds up recompilation by reducing compile-time deps
This commit is contained in:
parent
ca1eac01dd
commit
fe4c4a7178
29 changed files with 43 additions and 38 deletions
2
test/fixtures/modules/good_mrf.ex
vendored
2
test/fixtures/modules/good_mrf.ex
vendored
|
|
@ -1,5 +1,5 @@
|
|||
defmodule Fixtures.Modules.GoodMRF do
|
||||
@behaviour Pleroma.Web.ActivityPub.MRF
|
||||
@behaviour Pleroma.Web.ActivityPub.MRF.Policy
|
||||
|
||||
@impl true
|
||||
def filter(a), do: {:ok, a}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue