Add missing nsfwCensorImage option
authorMark Felder <feld@FreeBSD.org>
Wed, 13 May 2020 21:40:04 +0000 (16:40 -0500)
committerMark Felder <feld@FreeBSD.org>
Wed, 13 May 2020 21:40:04 +0000 (16:40 -0500)
config/description.exs

index f353378ac0fcd3bf9b2f04a6c51905777d495af1..00f32859cd1bad51fa3bff14423f97353806b13d 100644 (file)
@@ -1227,6 +1227,13 @@ config :pleroma, :config_description, [
             description: "Limit scope selection to Direct, User default, and Scope of post replying to. " <>
                 "Also prevents replying to a DM with a public post from PleromaFE."
           },
             description: "Limit scope selection to Direct, User default, and Scope of post replying to. " <>
                 "Also prevents replying to a DM with a public post from PleromaFE."
           },
+          %{
+            key: :nsfwCensorImage,
+            label: "NSFW Censor Image",
+            type: :string,
+            description: "URL of the image to use for hiding NSFW media attachments in the timeline.",
+            suggestions: ["/static/img/nsfw.png"]
+          },
           %{
             key: :redirectRootNoLogin,
             label: "Redirect root no login",
           %{
             key: :redirectRootNoLogin,
             label: "Redirect root no login",