Expose language detection in features
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
799dc1773d
commit
9d9bc74e91
1 changed files with 4 additions and 1 deletions
|
|
@ -145,7 +145,10 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
|||
end,
|
||||
"pleroma:get:main/ostatus",
|
||||
"pleroma:group_actors",
|
||||
"pleroma:bookmark_folders"
|
||||
"pleroma:bookmark_folders",
|
||||
if Config.get([Pleroma.Language.LanguageDetector, :provider]) do
|
||||
"pleroma:language_detection"
|
||||
end
|
||||
]
|
||||
|> Enum.filter(& &1)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue