aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/twitter_api/utils.ex
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-05-20 13:35:22 +0200
committerRoger Braun <roger@rogerbraun.net>2017-05-20 13:41:33 +0200
commit4854a604efc47cd7d3f2950d68ef4145db1cc03b (patch)
treef08fe63f49d788976925c6f02e43e01ba31283d6 /lib/pleroma/web/twitter_api/utils.ex
parent1085675ec41702b6e6416ae9f905905466228c01 (diff)
downloadpleroma-4854a604efc47cd7d3f2950d68ef4145db1cc03b.tar.gz
Extract note handler.
Diffstat (limited to 'lib/pleroma/web/twitter_api/utils.ex')
-rw-r--r--lib/pleroma/web/twitter_api/utils.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/twitter_api/utils.ex b/lib/pleroma/web/twitter_api/utils.ex
index 82e3620f2..32b9eab44 100644
--- a/lib/pleroma/web/twitter_api/utils.ex
+++ b/lib/pleroma/web/twitter_api/utils.ex
@@ -51,6 +51,7 @@ defmodule Pleroma.Web.TwitterAPI.Utils do
def make_context(%Activity{data: %{"context" => context}}), do: context
def make_context(_), do: Utils.generate_context_id
+ # TODO: Move this to a more fitting space
def make_note_data(actor, to, context, content_html, attachments, inReplyTo, tags) do
object = %{
"type" => "Note",