remove encrypted attr from mimeparser.

This commit is contained in:
holger krekel
2019-12-07 23:22:20 +01:00
parent 099cc9f727
commit d6d94adab0
3 changed files with 14 additions and 15 deletions

View File

@@ -1389,7 +1389,7 @@ fn check_verified_properties(
) -> Result<()> {
let contact = Contact::load_from_db(context, from_id)?;
ensure!(mimeparser.encrypted, "This message is not encrypted.");
ensure!(mimeparser.was_encrypted(), "This message is not encrypted.");
// ensure, the contact is verified
// and the message is signed with a verified key of the sender.