fix(attachments): Increase threshold to 12k

This commit is contained in:
Ben Gotow 2016-04-20 12:27:16 -07:00
parent bb71529322
commit 96072bce5c

View file

@ -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 ""