Merge in /api/v1/instance feature for fedi games

Allows configuration to disable them on the instance
This commit is contained in:
Fox 2023-03-12 11:21:42 +09:00
parent 71d3c83a4a
commit b2e24486d9

View file

@ -77,6 +77,9 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
if Config.get([:shout, :enabled]) do if Config.get([:shout, :enabled]) do
"shout" "shout"
end, end,
if Config.get([:games, :enabled]) do
"fedi_games"
end,
if Config.get([:instance, :allow_relay]) do if Config.get([:instance, :allow_relay]) do
"relay" "relay"
end, end,