forked from mirrors/akkoma
Use enum empty instead
This commit is contained in:
parent
e17d8f744e
commit
ba635e97c8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView 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
|
||||
|
|
Loading…
Reference in a new issue