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
486e2058
Commit
486e2058
authored
Feb 20, 2018
by
lain
Browse files
Remove some noise.
parent
9c899169
Pipeline
#763
failed with stage
in 2 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/mastodon_api/mastodon_socket.ex
View file @
486e2058
...
...
@@ -25,7 +25,6 @@ def connect(params, socket) do
def
id
(
_
),
do
:
nil
def
handle
(
:text
,
message
,
_state
)
do
IO
.
inspect
message
#| :ok
#| state
#| {:text, message}
...
...
lib/pleroma/web/mastodon_api/views/status_view.ex
View file @
486e2058
...
...
@@ -122,7 +122,6 @@ def get_visibility(object) do
end
def
render
(
"attachment.json"
,
%{
attachment:
attachment
})
do
IO
.
inspect
(
attachment
)
[%{
"mediaType"
=>
media_type
,
"href"
=>
href
}
|
_
]
=
attachment
[
"url"
]
type
=
cond
do
...
...
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