fedimbed: fix cw check try 3

This commit is contained in:
Cynthia Foxwell 2022-12-06 16:53:21 -07:00
parent d832c693cc
commit 4b6ebea322
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ async function processUrl(msg, url) {
let desc = "";
let MAX_LENGTH = 3999;
if (cw != "" && (images.length == 0 || videos.length == 0)) {
if (cw != "" && (images.length == 0 && videos.length == 0 && audios.length == 0)) {
desc += "\u26a0 " + cw + "\n\n||" + content + "||";
MAX_LENGTH -= 8 - cw.length;
} else {