diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-05-18 15:16:49 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-05-18 15:16:49 +0200 |
commit | 0da6ade619b08ab543644a5629c347f65db09e63 (patch) | |
tree | 0f1dcc0c6679a41256aa5161859057f2190913ac /lib/pleroma/web/twitter_api/twitter_api.ex | |
parent | 9033bfffd260968088648bf321db23ee94778a14 (diff) | |
download | pleroma-0da6ade619b08ab543644a5629c347f65db09e63.tar.gz |
Save tags in object.
Diffstat (limited to 'lib/pleroma/web/twitter_api/twitter_api.ex')
-rw-r--r-- | lib/pleroma/web/twitter_api/twitter_api.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 202d648e1..6eb69f815 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -36,7 +36,8 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do to <- to_for_user_and_mentions(user, mentions, inReplyTo), content_html <- make_content_html(status, mentions, attachments), context <- make_context(inReplyTo), - object <- make_note_data(user.ap_id, to, context, content_html, attachments, inReplyTo) do + tags <- Formatter.parse_tags(status), + object <- make_note_data(user.ap_id, to, context, content_html, attachments, inReplyTo, tags) do ActivityPub.create(to, user, context, object) end end |