logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 2743c6669311ecb9a985a959dfd28b7aeed8783a
parent 48a0ea2fc342c9a757222b0755a0cad9b725bdc7
Author: Mark Felder <feld@feld.me>
Date:   Tue,  1 Jun 2021 12:57:18 -0500

Add "chat" back as a feature for backwards compat.

Legacy PleromaFE uses this to identify if ShoutBox is available.

Diffstat:

Mlib/pleroma/web/mastodon_api/views/instance_view.ex4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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,