Show bubble_timeline in the api if any instances are set in it #502

Merged
floatingghost merged 4 commits from foxing/akkoma:foxing-patch-1 into develop 2023-03-21 10:13:42 +00:00
Showing only changes of commit ba635e97c8 - Show all commits

View file

@ -67,7 +67,7 @@ def features do
"pleroma:api/v1/notifications:include_types_filter",
"quote_posting",
"editing",
if Config.get([:instance, :local_bubble], []) != [] do
if !Enum.empty?(Config.get([:instance, :local_bubble], [])) do
"bubble_timeline"
end,
if Config.get([:media_proxy, :enabled]) do