summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-07-12 09:30:43 -0400
committertusooa <tusooa@kazv.moe>2023-09-13 19:19:05 -0400
commit163e5637335f9454688d3cc83530f82fc640a5b9 (patch)
treec03a61c323c3e05ce3844021864df8b5e74d94dd /config/description.exs
parent762794eed9e6fc8a03d1416e2a6e080b00df9e10 (diff)
downloadpleroma-163e5637335f9454688d3cc83530f82fc640a5b9.tar.gz
pleroma-163e5637335f9454688d3cc83530f82fc640a5b9.zip
Allow more flexibility in InlineQuotePolicy
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index d18649ae8..079d187d5 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -2996,6 +2996,24 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
+ key: :mrf_inline_quote,
+ tab: :mrf,
+ related_policy: "Pleroma.Web.ActivityPub.MRF.InlineQuotePolicy",
+ label: "MRF Inline Quote Policy",
+ type: :group,
+ description: "Force quote url to appear in post content.",
+ children: [
+ %{
+ key: :template,
+ type: :string,
+ description:
+ "The template to append to the post. `{url}` will be replaced with the actual link to the quoted post.",
+ suggestions: ["<bdi>RT:</bdi> {url}"]
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
key: :modules,
type: :group,
description: "Custom Runtime Modules",