diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-09-17 15:21:44 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-09-17 15:21:44 +0200 |
commit | 270c90322023d517183032e0ebaf9d60b7a3020f (patch) | |
tree | f235c4846d6b2e041bd5d8e12a3ead02ce5927a3 /lib/pleroma/web/common_api/common_api.ex | |
parent | bd100fd765f51a5e5b8c140c1be5568ff2b4d36d (diff) | |
download | pleroma-270c90322023d517183032e0ebaf9d60b7a3020f.tar.gz |
Add tag links.
Diffstat (limited to 'lib/pleroma/web/common_api/common_api.ex')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index 4abf36876..a865cd143 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -56,9 +56,9 @@ defmodule Pleroma.Web.CommonAPI do mentions <- Formatter.parse_mentions(status), inReplyTo <- get_replied_to_activity(data["in_reply_to_status_id"]), to <- to_for_user_and_mentions(user, mentions, inReplyTo), - content_html <- make_content_html(status, mentions, attachments), - context <- make_context(inReplyTo), tags <- Formatter.parse_tags(status), + content_html <- make_content_html(status, mentions, attachments, tags), + context <- make_context(inReplyTo), object <- make_note_data(user.ap_id, to, context, content_html, attachments, inReplyTo, tags) do res = ActivityPub.create(to, user, context, object) User.update_note_count(user) |