summaryrefslogtreecommitdiff
path: root/docs/configuration/mrf.md
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2021-12-15 19:05:36 -0500
committerAlex Gleason <alex@alexgleason.me>2021-12-15 19:05:36 -0500
commite1b89fe3aa2c03576a6f2418c1e83c0ed64707a3 (patch)
tree6a8b31ef3612c4f8f5b405361c7cb875f4661d84 /docs/configuration/mrf.md
parent29d80b39f287ed2488a612280d41e9dd2e40a7cc (diff)
parent6eb7d69e60a96e577de92de232ed48e509f23cd4 (diff)
downloadpleroma-e1b89fe3aa2c03576a6f2418c1e83c0ed64707a3.tar.gz
pleroma-e1b89fe3aa2c03576a6f2418c1e83c0ed64707a3.zip
Merge remote-tracking branch 'origin/develop' into live-dashboard
Diffstat (limited to 'docs/configuration/mrf.md')
-rw-r--r--docs/configuration/mrf.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/configuration/mrf.md b/docs/configuration/mrf.md
index 5618634a2..a31c26b9c 100644
--- a/docs/configuration/mrf.md
+++ b/docs/configuration/mrf.md
@@ -55,18 +55,18 @@ Servers should be configured as lists.
### Example
-This example will enable `SimplePolicy`, block media from `illegalporn.biz`, mark media as NSFW from `porn.biz` and `porn.business`, reject messages from `spam.com`, remove messages from `spam.university` from the federated timeline and block reports (flags) from `whiny.whiner`:
+This example will enable `SimplePolicy`, block media from `illegalporn.biz`, mark media as NSFW from `porn.biz` and `porn.business`, reject messages from `spam.com`, remove messages from `spam.university` from the federated timeline and block reports (flags) from `whiny.whiner`. We also give a reason why the moderation was done:
```elixir
config :pleroma, :mrf,
policies: [Pleroma.Web.ActivityPub.MRF.SimplePolicy]
config :pleroma, :mrf_simple,
- media_removal: ["illegalporn.biz"],
- media_nsfw: ["porn.biz", "porn.business"],
- reject: ["spam.com"],
- federated_timeline_removal: ["spam.university"],
- report_removal: ["whiny.whiner"]
+ media_removal: [{"illegalporn.biz", "Media can contain illegal contant"}],
+ media_nsfw: [{"porn.biz", "unmarked nsfw media"}, {"porn.business", "A lot of unmarked nsfw media"}],
+ reject: [{"spam.com", "They keep spamming our users"}],
+ federated_timeline_removal: [{"spam.university", "Annoying low-quality posts who otherwise fill up TWKN"}],
+ report_removal: [{"whiny.whiner", "Keep spamming us with irrelevant reports"}]
```
### Use with Care