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
08f458e6
Commit
08f458e6
authored
Feb 09, 2018
by
lain
Browse files
UtilController: Fix statusnet config api compatibility.
parent
af854f7e
Pipeline
#682
passed with stage
in 2 minutes and 50 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/twitter_api/controllers/util_controller.ex
View file @
08f458e6
...
...
@@ -121,7 +121,7 @@ def config(conn, _params) do
site:
%{
name:
Keyword
.
get
(
@instance
,
:name
),
server:
Web
.
base_url
,
textlimit:
Keyword
.
get
(
@instance
,
:limit
),
textlimit:
to_string
(
Keyword
.
get
(
@instance
,
:limit
)
)
,
closed:
if
(
Keyword
.
get
(
@instance
,
:registrations_open
),
do
:
"0"
,
else
:
"1"
)
}
})
...
...
Write
Preview
Supports
Markdown
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