Create NsfwApiPolicy

This commit is contained in:
Alex Gleason 2021-05-16 21:39:58 -05:00
commit 718e8e1edb
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 192 additions and 0 deletions

View file

@ -404,6 +404,13 @@ config :pleroma, :mrf_object_age,
threshold: 604_800,
actions: [:delist, :strip_followers]
config :pleroma, :mrf_nsfw_api,
url: "http://127.0.0.1:5000/",
threshold: 0.7,
mark_sensitive: true,
unlist: false,
reject: false
config :pleroma, :rich_media,
enabled: true,
ignore_hosts: [],