Support for configuration via AdminFE
authorMark Felder <feld@FreeBSD.org>
Thu, 8 Oct 2020 17:46:27 +0000 (12:46 -0500)
committerMark Felder <feld@feld.me>
Tue, 30 Mar 2021 16:10:43 +0000 (11:10 -0500)
config/description.exs

index 41e5e4056e6b3e79e7dee9ce470f546239c5e209..bb1f4330565b0ea8e64480dab4585ff44113d502 100644 (file)
@@ -2942,6 +2942,23 @@ config :pleroma, :config_description, [
       }
     ]
   },
+  %{
+    group: :pleroma,
+    key: :mrf_follow_bot,
+    tab: :mrf,
+    related_policy: "Pleroma.Web.ActivityPub.MRF.FollowBotPolicy",
+    label: "MRF FollowBot Policy",
+    type: :group,
+    description: "Automatically follows newly discovered accounts.",
+    children: [
+      %{
+        key: :follower_nickname,
+        type: :string,
+        description: "The name of the bot account to use for following newly discovered users.",
+        suggestions: ["followbot"]
+      }
+    ]
+  },
   %{
     group: :pleroma,
     key: :modules,