From: Mark Felder Date: Tue, 1 Jun 2021 17:57:18 +0000 (-0500) Subject: Add "chat" back as a feature for backwards compat. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2743c6669311ecb9a985a959dfd28b7aeed8783a;p=akkoma Add "chat" back as a feature for backwards compat. Legacy PleromaFE uses this to identify if ShoutBox is available. --- diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex index fcb4e2466..3528185d5 100644 --- 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,