forked from AkkomaGang/akkoma
Add "chat" back as a feature for backwards compat.
Legacy PleromaFE uses this to identify if ShoutBox is available.
This commit is contained in:
parent
48a0ea2fc3
commit
2743c66693
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ def features 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,
|
||||||
|
|
Loading…
Reference in a new issue