diff options
author | rinpatch <rinpatch@sdf.org> | 2019-01-18 10:28:19 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-01-18 10:28:19 +0300 |
commit | 997f4a5e09f8531f95ba3f13986b9dda583d046a (patch) | |
tree | 219c4450b7e4c0f9c5ce38ebda992052f7bc4730 /lib/pleroma/web/common_api/common_api.ex | |
parent | 1b1af4798a74c4ab357140ef2c5928dd9ebd3221 (diff) | |
download | pleroma-997f4a5e09f8531f95ba3f13986b9dda583d046a.tar.gz |
Remove custom emojis and trailing whitespaces from previews
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 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"], |