Remove sensitive-property setting #nsfw, create HashtagPolicy

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-12-28 23:21:53 +01:00
commit 3bc7d12271
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
15 changed files with 187 additions and 62 deletions

View file

@ -210,6 +210,16 @@ config :pleroma, :mrf_user_allowlist, %{
* `days`: Default global expiration time for all local Create activities (in days)
#### :mrf_hashtag
* `sensitive`: List of hashtags to mark activities as sensitive (default: `nsfw`)
* `federated_timeline_removal`: List of hashtags to remove activities from the federated timeline (aka TWNK)
* `reject`: List of hashtags to reject activities from
Notes:
- The hashtags in the configuration do not have a leading `#`.
- This MRF Policy is always enabled, if you want to disable it you have to set empty lists
### :activitypub
* `unfollow_blocked`: Whether blocks result in people getting unfollowed
* `outgoing_blocks`: Whether to federate blocks to other instances