fix 'this message is not encrypted' error in verified groups (#522)

This commit is contained in:
björn petersen
2019-09-14 18:55:19 +02:00
committed by Jikstra
parent 24fe4740d3
commit 79d23909b5

View File

@@ -1746,7 +1746,7 @@ unsafe fn check_verified_properties(
}
};
if mimeparser.e2ee_helper.encrypted {
if !mimeparser.e2ee_helper.encrypted {
verify_fail("This message is not encrypted".into());
return 0;
}