projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update features array
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
views
/
instance_view.ex
diff --git
a/lib/pleroma/web/mastodon_api/views/instance_view.ex
b/lib/pleroma/web/mastodon_api/views/instance_view.ex
index c36271654274d2f44da00d667c10135735176a62..d67f100a6939b9d557f275b85ddefba32c442200 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/instance_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/instance_view.ex
@@
-57,6
+57,7
@@
defmodule Pleroma.Web.MastodonAPI.InstanceView do
def features do
[
"pleroma_api",
def features do
[
"pleroma_api",
+ "akkoma_api",
"mastodon_api",
"mastodon_api_streaming",
"polls",
"mastodon_api",
"mastodon_api_streaming",
"polls",
@@
-68,13
+69,6
@@
defmodule Pleroma.Web.MastodonAPI.InstanceView do
if Config.get([:media_proxy, :enabled]) do
"media_proxy"
end,
if Config.get([:media_proxy, :enabled]) do
"media_proxy"
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,
if Config.get([:instance, :allow_relay]) do
"relay"
end,
@@
-82,7
+76,6
@@
defmodule Pleroma.Web.MastodonAPI.InstanceView do
"safe_dm_mentions"
end,
"pleroma_emoji_reactions",
"safe_dm_mentions"
end,
"pleroma_emoji_reactions",
- "pleroma_chat_messages",
if Config.get([:instance, :show_reactions]) do
"exposable_reactions"
end,
if Config.get([:instance, :show_reactions]) do
"exposable_reactions"
end,