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

@ -49,7 +49,8 @@ Restricts the visibility of posts from certain instances.
media_removal: [],
media_nsfw: [],
federated_timeline_removal: [],
reject: []
reject: [],
accept: []
* `media_removal`: posts from these instances will have attachments
removed
@ -58,6 +59,7 @@ Restricts the visibility of posts from certain instances.
* `federated_timeline_removal`: posts from these instances will be
marked as unlisted
* `reject`: posts from these instances will be dropped
* `accept`: if not empty, only posts from these instances will be accepted
### RejectNonPublic