fedimbed.bluesky: forgot to add nudity label check to main post

This commit is contained in:
Cynthia Foxwell 2024-11-19 11:36:49 -07:00
parent f9b548452d
commit 6f3edcd0a4

View file

@ -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);