Add "chat" back as a feature for backwards compat.

Legacy PleromaFE uses this to identify if ShoutBox is available.
This commit is contained in:
Mark Felder 2021-06-01 12:57:18 -05:00
parent 48a0ea2fc3
commit 2743c66693

View File

@ -69,6 +69,10 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
if Config.get([:gopher, :enabled]) do if Config.get([:gopher, :enabled]) do
"gopher" "gopher"
end, end,
# backwards compat
if Config.get([:shout, :enabled]) do
"chat"
end,
if Config.get([:shout, :enabled]) do if Config.get([:shout, :enabled]) do
"shout" "shout"
end, end,