From b2184de2a81beea26cf3e68d769612df4ba156f3 Mon Sep 17 00:00:00 2001 From: Jefferson Stachelski Date: Tue, 23 Feb 2016 15:32:43 -0300 Subject: Returning 'not-sign' for no signature information When leap.mail receive not encrypted and not signed email it show as no-signature-information on pixelated Paring @thaissiqueira / @jeffhsta Issue #605 --- web-ui/app/js/mail_view/ui/mail_view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js/mail_view/ui/mail_view.js') diff --git a/web-ui/app/js/mail_view/ui/mail_view.js b/web-ui/app/js/mail_view/ui/mail_view.js index ba4d6e85..d4f5dd9e 100644 --- a/web-ui/app/js/mail_view/ui/mail_view.js +++ b/web-ui/app/js/mail_view/ui/mail_view.js @@ -51,7 +51,7 @@ define( data.mail.security_casing = data.mail.security_casing || {}; signed = this.checkSigned(data.mail); encrypted = this.checkEncrypted(data.mail); - attachments = data.mail.attachments.map(function (attachment) { + attachments = data.mail.attachments.map(function (attachment) { attachment.received = true; return attachment; }); @@ -125,7 +125,7 @@ define( }); if(hasNoSignatureInformation) { - return ''; + return 'not-signed'; } var status = ['signed']; -- cgit v1.2.3