mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-11 02:30:21 +08:00
fix(attachments): Increase threshold to 12k
This commit is contained in:
parent
bb71529322
commit
96072bce5c
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ Utils =
|
||||||
|
|
||||||
showIconForAttachments: (files) ->
|
showIconForAttachments: (files) ->
|
||||||
return false unless files instanceof Array
|
return false unless files instanceof Array
|
||||||
return files.find (f) -> !f.contentId or f.size > 3 * 1024
|
return files.find (f) -> !f.contentId or f.size > 12 * 1024
|
||||||
|
|
||||||
extractTextFromHtml: (html, {maxLength} = {}) ->
|
extractTextFromHtml: (html, {maxLength} = {}) ->
|
||||||
if (html ? "").trim().length is 0 then return ""
|
if (html ? "").trim().length is 0 then return ""
|
||||||
|
|
Loading…
Reference in a new issue