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
|
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,
|
||||||
|
|
Loading…
Reference in a new issue