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
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ def features do
if Config.get([:gopher, :enabled]) do
"gopher"
end,
# backwards compat
if Config.get([:shout, :enabled]) do
"chat"
end,
if Config.get([:shout, :enabled]) do
"shout"
end,