Use enum empty instead

This commit is contained in:
foxing 2023-03-13 03:40:20 +00:00
parent e17d8f744e
commit ba635e97c8

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