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
|
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