mrf simple: add accept lists

accept lists supplement reject lists by requiring that any message accepted by contained
by the accept list.

in other words, this functionality can be used to implement instances similar to
awoo.space.
This commit is contained in:
William Pitcock 2018-06-19 21:23:37 +00:00
commit 60d6038be5
3 changed files with 16 additions and 3 deletions

View file

@ -67,7 +67,8 @@ config :pleroma, :mrf_simple,
media_removal: [],
media_nsfw: [],
federated_timeline_removal: [],
reject: []
reject: [],
accept: []
config :pleroma, :media_proxy,
enabled: false,