Change deprecated rewrite policies

This commit is contained in:
Alex 2020-08-09 11:58:24 +02:00
parent bdad9b9752
commit 505adf9733
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 4 additions and 5 deletions

View File

@ -1,10 +1,9 @@
import Config
config :pleroma, :instance,
rewrite_policy: [
Pleroma.Web.ActivityPub.MRF.AntiLinkSpamPolicy,
Pleroma.Web.ActivityPub.MRF.SimplePolicy
]
config :pleroma, :mrf, policies [
Pleroma.Web.ActivityPub.MRF.AntiLinkSpamPolicy,
Pleroma.Web.ActivityPub.MRF.SimplePolicy
]
config :pleroma, :mrf_simple,
media_nsfw: ["stereophonic.space", "baraag.net"]