fedimbed.bluesky: forgot to add nudity label check to main post
This commit is contained in:
parent
f9b548452d
commit
6f3edcd0a4
1 changed files with 6 additions and 1 deletions
|
@ -321,7 +321,12 @@ async function bluesky(msg, url, spoiler = false) {
|
|||
if (label.val === "!hide") {
|
||||
hidden = true;
|
||||
spoiler = true;
|
||||
} else if (label.val === "porn" || label.val === "sexual" || label.val === "graphic-media") {
|
||||
} else if (
|
||||
label.val === "porn" ||
|
||||
label.val === "sexual" ||
|
||||
label.val === "graphic-media" ||
|
||||
label.val === "nudity"
|
||||
) {
|
||||
adult = true;
|
||||
spoiler = true;
|
||||
tags.push(label.val);
|
||||
|
|
Loading…
Reference in a new issue