This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 3c004a5 Unused
3c004a5 is described below
commit 3c004a5edc188c11361d4fb93bd263016f887d0e
Author: Sebb <[email protected]>
AuthorDate: Sun Nov 21 22:17:02 2021 +0000
Unused
---
webui/js/source/composer.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/webui/js/source/composer.js b/webui/js/source/composer.js
index 1bcaa47..cce3738 100644
--- a/webui/js/source/composer.js
+++ b/webui/js/source/composer.js
@@ -178,10 +178,8 @@ function mua_link(email, xlist) {
}
let eml_raw_short = composer_re(email);
let subject = "RE: " + email.subject || '';
- let truncated = false;
let N = 16000; // Anything above 16K can cause namespace issues with links.
if (eml_raw_short.length > N) {
- truncated = true;
eml_raw_short = eml_raw_short.substring(0, N) + "\n[message
truncated...]";
}
let listname = email.list_raw.replace(/[<>]/g, '').replace('.', '@', 1);