Browse Source

Merge branch 'fix/no-attachment-links' into 'develop'

Treat any present value in "no_attachment_links" as true

Closes pleroma-fe#175

See merge request pleroma/pleroma!597
tags/v0.9.9
kaniini 5 years ago
parent
commit
68f483ef4c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/pleroma/web/common_api/common_api.ex

+ 1
- 1
lib/pleroma/web/common_api/common_api.ex View File

@@ -102,7 +102,7 @@ defmodule Pleroma.Web.CommonAPI do
attachments,
tags,
get_content_type(data["content_type"]),
data["no_attachment_links"]
Enum.member?([true, "true"], data["no_attachment_links"])
),
context <- make_context(inReplyTo),
cw <- data["spoiler_text"],


Loading…
Cancel
Save