[#1505] Added Mastodon-compatible replies collection to Note federated representation.
This commit is contained in:
parent
6e6f1ead31
commit
cf96c40057
6 changed files with 145 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -3089,6 +3089,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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue