aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/common_api
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-01-18 10:28:19 +0300
committerrinpatch <rinpatch@sdf.org>2019-01-18 10:28:19 +0300
commit997f4a5e09f8531f95ba3f13986b9dda583d046a (patch)
tree219c4450b7e4c0f9c5ce38ebda992052f7bc4730 /lib/pleroma/web/common_api
parent1b1af4798a74c4ab357140ef2c5928dd9ebd3221 (diff)
downloadpleroma-997f4a5e09f8531f95ba3f13986b9dda583d046a.tar.gz
Remove custom emojis and trailing whitespaces from previews
Diffstat (limited to 'lib/pleroma/web/common_api')
-rw-r--r--lib/pleroma/web/common_api/common_api.ex2
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 2902905fd..9a748d65e 100644
--- a/lib/pleroma/web/common_api/common_api.ex
+++ b/lib/pleroma/web/common_api/common_api.ex
@@ -103,7 +103,7 @@ defmodule Pleroma.Web.CommonAPI do
attachments,
tags,
get_content_type(data["content_type"]),
- Enum.member?([true, "true"], data["no_attachment_links"])
+ true
),
context <- make_context(inReplyTo),
cw <- data["spoiler_text"],