Use enum empty instead
This commit is contained in:
parent
e17d8f744e
commit
ba635e97c8
|
@ -67,7 +67,7 @@ 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
|
if !Enum.empty?(Config.get([:instance, :local_bubble], [])) do
|
||||||
"bubble_timeline"
|
"bubble_timeline"
|
||||||
end,
|
end,
|
||||||
if Config.get([:media_proxy, :enabled]) do
|
if Config.get([:media_proxy, :enabled]) do
|
||||||
|
|
Loading…
Reference in a new issue