From 58dfabe79bd0006482e583843c4810e93c59f2d3 Mon Sep 17 00:00:00 2001 From: itepechi <72330683+itepechi@users.noreply.github.com> Date: Sun, 17 Sep 2023 05:44:22 +0900 Subject: [PATCH] Add a note to the sample config about the MRF policy customisations --- priv/templates/sample_config.eex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/priv/templates/sample_config.eex b/priv/templates/sample_config.eex index e063bf6d5..42d4bb5f8 100644 --- a/priv/templates/sample_config.eex +++ b/priv/templates/sample_config.eex @@ -82,6 +82,12 @@ config :joken, default_signer: "<%= jwt_secret %>" config :pleroma, configurable_from_database: <%= db_configurable? %> +# When customising MRF policies, don't forget to include ObjectAgePolicy if you +# don't want your TWKN to be flooded with posts from ages ago. +# +# config :pleroma, :mrf, +# policies: [] + <%= if Kernel.length(upload_filters) > 0 do "config :pleroma, Pleroma.Upload, filters: #{inspect(upload_filters)}" end %>