projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'feature/mrf-always-nsfw' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
common_api
/
utils.ex
diff --git
a/lib/pleroma/web/common_api/utils.ex
b/lib/pleroma/web/common_api/utils.ex
index 8d616097694a570f01b6e382e657250a50b83486..d93c0d46e5962ba93bc2796a738ac294dbbcd656 100644
(file)
--- a/
lib/pleroma/web/common_api/utils.ex
+++ b/
lib/pleroma/web/common_api/utils.ex
@@
-232,7
+232,7
@@
defmodule Pleroma.Web.CommonAPI.Utils do
"cc" => cc,
"content" => content_html,
"summary" => cw,
- "sensitive" =>
sensitive
,
+ "sensitive" =>
!Enum.member?(["false", "False", "0", false], sensitive)
,
"context" => context,
"attachment" => attachments,
"actor" => actor,