summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/js/mail_view/ui/mail_view.js4
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 fb640529..3c5b0ccc 100644
--- a/web-ui/app/js/mail_view/ui/mail_view.js
+++ b/web-ui/app/js/mail_view/ui/mail_view.js
@@ -52,6 +52,10 @@ define(
signed = this.checkSigned(data.mail);
encrypted = this.checkEncrypted(data.mail);
+ if(data.mail.mailbox === 'sent') {
+ encrypted = undefined;
+ }
+
var attachments = _.map(data.mail.attachments, function(a){
return { 'encoding': a.encoding, 'name': a.name, 'ident': a.ident };
});