summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-01-22 21:10:17 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-01-22 21:10:17 +0300
commitcf96c4005743c61d44e17c9d37c6427eaf69c152 (patch)
treea3da096727b94385c6a735a363f19aa2844883fb /config/description.exs
parent6e6f1ead31ba26bc42b14226e3c0876042f0596a (diff)
downloadpleroma-cf96c4005743c61d44e17c9d37c6427eaf69c152.tar.gz
pleroma-cf96c4005743c61d44e17c9d37c6427eaf69c152.zip
[#1505] Added Mastodon-compatible `replies` collection to Note federated representation.
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index f941349d5..a0675ec30 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3091,6 +3091,20 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
+ key: :mastodon_compatibility,
+ type: :group,
+ description: "Mastodon compatibility-related settings.",
+ children: [
+ %{
+ key: :federated_note_replies_limit,
+ type: :integer,
+ description:
+ "The number of Note self-reply URIs to be included with outgoing federation (`5` to mimic Mastodon hardcoded value, `0` to disable)."
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
type: :group,
description: "Allow instance configuration from database.",
children: [