projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a0ea2
)
Add "chat" back as a feature for backwards compat.
author
Mark Felder
<feld@feld.me>
Tue, 1 Jun 2021 17:57:18 +0000
(12:57 -0500)
committer
Mark Felder
<feld@feld.me>
Tue, 1 Jun 2021 18:17:50 +0000
(13:17 -0500)
Legacy PleromaFE uses this to identify if ShoutBox is available.
lib/pleroma/web/mastodon_api/views/instance_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/mastodon_api/views/instance_view.ex
b/lib/pleroma/web/mastodon_api/views/instance_view.ex
index fcb4e2466063e564ccf5c26fea083664efedd28b..3528185d50345e102edc18686db70bde420cd08f 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/instance_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/instance_view.ex
@@
-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,