mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-22 22:49:25 +00:00
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
|
@ -69,6 +69,10 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView 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,
|
||||
|
|
Loading…
Reference in a new issue