summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-06-07 14:22:08 -0500
committerAlex Gleason <alex@alexgleason.me>2021-06-07 14:22:08 -0500
commitfe4c4a7178ac4df76a9f4a83c05f8445c5ff9bf2 (patch)
tree1fc31b0a0f09ddbaf5163333f8998472c4afb9a9 /docs
parentca1eac01ddea8cb13059592630ac5399aeac9b65 (diff)
MRF: create MRF.Policy behaviour separate from MRF module
Speeds up recompilation by reducing compile-time deps
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/mrf.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/configuration/mrf.md b/docs/configuration/mrf.md
index 9e8c0a2d7..5618634a2 100644
--- a/docs/configuration/mrf.md
+++ b/docs/configuration/mrf.md
@@ -82,7 +82,7 @@ For example, here is a sample policy module which rewrites all messages to "new
```elixir
defmodule Pleroma.Web.ActivityPub.MRF.RewritePolicy do
@moduledoc "MRF policy which rewrites all Notes to have 'new message content'."
- @behaviour Pleroma.Web.ActivityPub.MRF
+ @behaviour Pleroma.Web.ActivityPub.MRF.Policy
# Catch messages which contain Note objects with actual data to filter.
# Capture the object as `object`, the message content as `content` and the