Skip to content
Snippets Groups Projects
Commit 57795f73 authored by dtluna's avatar dtluna
Browse files

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

parent 8f439921
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
content_html = add_user_links(content, mentions)
date = make_date
activity = %{
"type" => "Create",
"to" => to,
......@@ -33,11 +35,11 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
"type" => "Note",
"to" => to,
"content" => content_html,
"published" => make_date,
"published" => date,
"context" => context,
"attachment" => attachments
},
"published" => make_date,
"published" => date,
"context" => context
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment