From d9783abffad1ead04a3dda4f1ab365a9a50d989e Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Fri, 17 Jul 2026 00:12:21 +0200 Subject: [PATCH] her --- public/s/js/sidebar-activity.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/public/s/js/sidebar-activity.js b/public/s/js/sidebar-activity.js index 956c078..d312716 100644 --- a/public/s/js/sidebar-activity.js +++ b/public/s/js/sidebar-activity.js @@ -520,18 +520,6 @@ `; } - // Robust fallback for is_long if server didn't provide it, plus inline media checks - let isLong = c.is_long; - const rawText = c.content || c.body || ''; - if (isLong === undefined) { - isLong = rawText.length > 120 - || rawText.split('\n').length > 2 - || (c.files && c.files.length > 0); - } - // Always force isLong if there are inline media tags that expand vertically - if (!isLong && /\[(video|audio|youtube|img)\]|!\[|https?:\/\//i.test(rawText)) { - isLong = true; - } return `