Commit 57795f73 authored by dtluna's avatar dtluna
Browse files

Refactor lib/pleroma/web/twitter_api/twitter_api.ex

parent 8f439921
......@@ -25,6 +25,8 @@ def create_status(user = %User{}, data = %{}) do
content_html = add_user_links(content, mentions)
date = make_date
activity = %{
"type" => "Create",
"to" => to,
......@@ -33,11 +35,11 @@ def create_status(user = %User{}, data = %{}) do
"type" => "Note",
"to" => to,
"content" => content_html,
"published" => make_date,
"published" => date,
"context" => context,
"attachment" => attachments
},
"published" => make_date,
"published" => date,
"context" => context
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment