diff options
author | eal <eal@waifu.club> | 2017-12-07 20:44:09 +0200 |
---|---|---|
committer | eal <eal@waifu.club> | 2017-12-07 20:44:09 +0200 |
commit | 5436dbaeaf0765c5d651cd16b02018edbc6793d4 (patch) | |
tree | dee526bc21bb8d1789246ee3dfd2fa0e63314c03 /lib/pleroma/web/common_api/common_api.ex | |
parent | afd0ea37f3284bdfa6ddce99162601615b7ad845 (diff) | |
download | pleroma-5436dbaeaf0765c5d651cd16b02018edbc6793d4.tar.gz |
MastoAPI: don't add attachment links.
Diffstat (limited to 'lib/pleroma/web/common_api/common_api.ex')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index dc94e5377..d3a9f7b85 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -56,7 +56,7 @@ defmodule Pleroma.Web.CommonAPI do inReplyTo <- get_replied_to_activity(data["in_reply_to_status_id"]), to <- to_for_user_and_mentions(user, mentions, inReplyTo), tags <- Formatter.parse_tags(status, data), - content_html <- make_content_html(status, mentions, attachments, tags), + content_html <- make_content_html(status, mentions, attachments, tags, data["no_attachment_links"]), context <- make_context(inReplyTo), cw <- data["spoiler_text"], object <- make_note_data(user.ap_id, to, context, content_html, attachments, inReplyTo, tags, cw), |