diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2014-12-11 19:27:52 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2014-12-11 19:27:52 -0300 |
commit | 9787c739b6ecefd3e8ed822435fa7262e9767811 (patch) | |
tree | 362f8a6b1043dc40f3ab119cebda75c0341b9014 /web-ui/app/js/mail_view | |
parent | 8a25a05cf04078a3a7e8a380eea17f94cc7cec93 (diff) |
no_signature_information used when leap signature header is none #177
Diffstat (limited to 'web-ui/app/js/mail_view')
-rw-r--r-- | web-ui/app/js/mail_view/ui/mail_view.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 214b85d8..1d3fa173 100644 --- a/web-ui/app/js/mail_view/ui/mail_view.js +++ b/web-ui/app/js/mail_view/ui/mail_view.js @@ -120,6 +120,10 @@ define( this.checkSigned = function(mail) { if(_.isEmpty(mail.security_casing.imprints)) { return 'not-signed'; } + if(_.any(mail.security_casing.imprints, function(imprint) { return imprint.state === 'no_signature_information'; })) { + return ''; + } + var status = ['signed']; if(_.any(mail.security_casing.imprints, function(imprint) { return imprint.state === 'from_revoked'; })) { |