Debug: preview hidden/quotes

This commit is contained in:
M66B
2024-08-24 08:45:42 +02:00
parent 9386f13807
commit 1564a93338
16 changed files with 84 additions and 27 deletions

View File

@@ -1012,7 +1012,7 @@ class NotificationHelper {
if (notify_preview_all)
try {
File file = message.getFile(context);
preview = HtmlHelper.getFullText(file, true);
preview = HtmlHelper.getFullText(context, file);
if (preview != null && preview.length() > MAX_PREVIEW)
preview = preview.substring(0, MAX_PREVIEW);
} catch (Throwable ex) {