mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2025-03-30 15:32:12 +02:00
Attempt enum empty instead of checking against a literal array
This commit is contained in:
parent
7d7e73042b
commit
e89a02bb91
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
||||||
"multifetch",
|
"multifetch",
|
||||||
"pleroma:api/v1/notifications:include_types_filter",
|
"pleroma:api/v1/notifications:include_types_filter",
|
||||||
"quote_posting",
|
"quote_posting",
|
||||||
if Config.get([:instance, :local_bubble], []) != [] do
|
if !Enum.empty?(Config.get([:instance, :local_bubble], [])) do
|
||||||
"bubble_timeline"
|
"bubble_timeline"
|
||||||
end,
|
end,
|
||||||
"editing",
|
"editing",
|
||||||
|
|
Loading…
Reference in a new issue