Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
8226953f
Verified
Commit
8226953f
authored
Sep 05, 2018
by
Haelwenn
Browse files
[Pleroma.Web.Nodeinfo.NodeinfoController]: Transparency on MRF Simple
parent
4f03bb22
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
View file @
8226953f
...
...
@@ -26,6 +26,7 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
chat
=
Application
.
get_env
(
:pleroma
,
:chat
)
gopher
=
Application
.
get_env
(
:pleroma
,
:gopher
)
stats
=
Stats
.
get_stats
()
mrf_simple
=
Application
.
get_env
(
:pleroma
,
:mrf_simple
)
staff_accounts
=
User
.
moderator_user_query
()
...
...
@@ -64,7 +65,8 @@ def nodeinfo(conn, %{"version" => "2.0"}) do
},
staffAccounts:
staff_accounts
,
chat:
Keyword
.
get
(
chat
,
:enabled
),
gopher:
Keyword
.
get
(
gopher
,
:enabled
)
gopher:
Keyword
.
get
(
gopher
,
:enabled
),
mrf_simple:
Enum
.
into
(
mrf_simple
,
%{})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment