diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2023-09-07 15:00:24 +0200 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2023-09-07 15:00:24 +0200 |
commit | 28ef5ebd3c7c2fc083424dbf4434392fcd2a7aef (patch) | |
tree | fc8ea4fdbcbde879b7ab80184ddad8fe78161cce /lib | |
parent | 79e46ce73f782a83654986adc9fd0b256be6a2e6 (diff) | |
download | pleroma-28ef5ebd3c7c2fc083424dbf4434392fcd2a7aef.tar.gz pleroma-28ef5ebd3c7c2fc083424dbf4434392fcd2a7aef.zip |
Update InstanceView.features
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/instance_view.ex | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex index e7a2feb7f..c1cecf6e6 100644 --- a/lib/pleroma/web/mastodon_api/views/instance_view.ex +++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex @@ -92,7 +92,6 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do "shareable_emoji_packs", "multifetch", "pleroma:api/v1/notifications:include_types_filter", - "quote_posting", "editing", if Config.get([:activitypub, :blockers_visible]) do "blockers_visible" @@ -103,6 +102,13 @@ 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, if Config.get([:instance, :allow_relay]) do "relay" end, @@ -112,7 +118,6 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do "pleroma_emoji_reactions", "pleroma_custom_emoji_reactions", "pleroma_chat_messages", - "email_list", if Config.get([:instance, :show_reactions]) do "exposable_reactions" end, |