projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17d8f7
)
Use enum empty instead
author
foxing
<foxing@noreply.akkoma>
Mon, 13 Mar 2023 03:40:20 +0000
(
03:40
+0000)
committer
foxing
<foxing@noreply.akkoma>
Mon, 13 Mar 2023 03:40:20 +0000
(
03:40
+0000)
lib/pleroma/web/mastodon_api/views/instance_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/mastodon_api/views/instance_view.ex
b/lib/pleroma/web/mastodon_api/views/instance_view.ex
index d06c80a12bd72ae5927b1bf0733619b2fd028777..2b535487377dd2a591fb9d3c1c5eb6faeb411ffa 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/instance_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/instance_view.ex
@@
-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