Show bubble_timeline in the api if any instances are set in it, do not show if none are set
ci/woodpecker/pr/woodpecker Pipeline is pending Details

This commit is contained in:
foxing 2023-03-11 03:26:48 +00:00
parent 9977588612
commit 19eb826424
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
"pleroma:api/v1/notifications:include_types_filter",
"quote_posting",
"editing",
if Config.get([:instance, :local_bubble], []) != [] do
"bubble_timeline"
end,
if Config.get([:media_proxy, :enabled]) do
"media_proxy"
end,