diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-01-22 21:10:17 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-01-22 21:10:17 +0300 |
commit | cf96c4005743c61d44e17c9d37c6427eaf69c152 (patch) | |
tree | a3da096727b94385c6a735a363f19aa2844883fb /config | |
parent | 6e6f1ead31ba26bc42b14226e3c0876042f0596a (diff) | |
download | pleroma-cf96c4005743c61d44e17c9d37c6427eaf69c152.tar.gz pleroma-cf96c4005743c61d44e17c9d37c6427eaf69c152.zip |
[#1505] Added Mastodon-compatible `replies` collection to Note federated representation.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 4 | ||||
-rw-r--r-- | config/description.exs | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 2c154eb45..60642c467 100644 --- a/config/config.exs +++ b/config/config.exs @@ -620,6 +620,10 @@ config :pleroma, :modules, runtime_dir: "instance/modules" config :pleroma, configurable_from_database: false +config :pleroma, :mastodon_compatibility, + # https://git.pleroma.social/pleroma/pleroma/issues/1505 + federated_note_replies_limit: 5 + config :swarm, node_blacklist: [~r/myhtml_.*$/] # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. 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: [ |