fedimbed: make max length 3500

This commit is contained in:
Cynthia Foxwell 2025-06-22 11:35:03 -06:00
parent 0ea9264ae3
commit 384916e453
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -1358,7 +1358,7 @@ async function processUrl(msg, url, spoiler = false, command = false, inQuote =
cw = htmlToMarkdown(cw);
let desc = "";
let MAX_LENGTH = 3999;
let MAX_LENGTH = 3500;
if (cw != "" || sensitive) {
const ors = content.split("||");
desc += `||${content}||`;