Show bubble_timeline in the api if any instances are set in it, do not show if none are set
This commit is contained in:
parent
9977588612
commit
19eb826424
|
@ -67,6 +67,9 @@ def features do
|
||||||
"pleroma:api/v1/notifications:include_types_filter",
|
"pleroma:api/v1/notifications:include_types_filter",
|
||||||
"quote_posting",
|
"quote_posting",
|
||||||
"editing",
|
"editing",
|
||||||
|
if Config.get([:instance, :local_bubble], []) != [] do
|
||||||
|
"bubble_timeline"
|
||||||
|
end,
|
||||||
if Config.get([:media_proxy, :enabled]) do
|
if Config.get([:media_proxy, :enabled]) do
|
||||||
"media_proxy"
|
"media_proxy"
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue