InstanceView: do not repeat information

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk 2025-03-19 17:59:42 +01:00
commit 25a3ee2256

View file

@ -157,9 +157,6 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
"pleroma:bookmark_folders", "pleroma:bookmark_folders",
if Pleroma.Language.LanguageDetector.configured?() do if Pleroma.Language.LanguageDetector.configured?() do
"pleroma:language_detection" "pleroma:language_detection"
end,
if Pleroma.Language.Translation.configured?() do
"translation"
end end
] ]
|> Enum.filter(& &1) |> Enum.filter(& &1)