mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 05:49:54 +01:00
Merge in /api/v1/instance feature for fedi games
Allows configuration to disable them on the instance
This commit is contained in:
parent
71d3c83a4a
commit
b2e24486d9
1 changed files with 4 additions and 1 deletions
|
@ -77,6 +77,9 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
|||
if Config.get([:shout, :enabled]) do
|
||||
"shout"
|
||||
end,
|
||||
if Config.get([:games, :enabled]) do
|
||||
"fedi_games"
|
||||
end,
|
||||
if Config.get([:instance, :allow_relay]) do
|
||||
"relay"
|
||||
end,
|
||||
|
@ -84,7 +87,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
|
|||
"safe_dm_mentions"
|
||||
end,
|
||||
"pleroma_emoji_reactions",
|
||||
"pleroma_chat_messages",
|
||||
"pleroma_chat_messages",
|
||||
if Config.get([:instance, :show_reactions]) do
|
||||
"exposable_reactions"
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue