Commit 0ec19803 authored by Patrick Brunschwig's avatar Patrick Brunschwig

enable --trust-always for encrypting drafts

parent 5cc4a4e0
......@@ -2640,11 +2640,7 @@ Enigmail.msg = {
return true;
}
let sendFlags = nsIEnigmail.SEND_PGP_MIME | nsIEnigmail.SEND_ENCRYPTED | nsIEnigmail.SAVE_MESSAGE;
if (this.trustAllKeys) {
sendFlags |= nsIEnigmail.SEND_ALWAYS_TRUST;
}
let sendFlags = nsIEnigmail.SEND_PGP_MIME | nsIEnigmail.SEND_ENCRYPTED | nsIEnigmail.SAVE_MESSAGE | nsIEnigmail.SEND_ALWAYS_TRUST;
let fromAddr = this.identity.email;
let userIdValue = this.getSenderUserId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment