Put blockers_visible in the features list when it's enabled
This commit is contained in:
parent
ed6973d3d9
commit
bd5dbbac1f
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,6 @@ def render("show.json", _) do
|
|||
background_image: Pleroma.Web.Endpoint.url() <> Keyword.get(instance, :background_image),
|
||||
shout_limit: Config.get([:shout, :limit]),
|
||||
description_limit: Keyword.get(instance, :description_limit),
|
||||
blockers_visible: Config.get([:activitypub, :blockers_visible]),
|
||||
pleroma: %{
|
||||
metadata: %{
|
||||
account_activation_required: Keyword.get(instance, :account_activation_required),
|
||||
|
@ -68,6 +67,9 @@ def features do
|
|||
"shareable_emoji_packs",
|
||||
"multifetch",
|
||||
"pleroma:api/v1/notifications:include_types_filter",
|
||||
if Config.get([:activitypub, :blockers_visible]) do
|
||||
"blockers_visible"
|
||||
end,
|
||||
if Config.get([:media_proxy, :enabled]) do
|
||||
"media_proxy"
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue