Add #nsfw tag if sensitive content bit is set
This commit is contained in:
parent
4647bcd6e6
commit
f53cdabcdf
3 changed files with 14 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ 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),
|
||||
tags <- Formatter.parse_tags(status),
|
||||
tags <- Formatter.parse_tags(status, data),
|
||||
content_html <- make_content_html(status, mentions, attachments, tags),
|
||||
context <- make_context(inReplyTo),
|
||||
cw <- data["spoiler_text"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue