mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 05:16:28 +03:00
fix: more logic fixes for encryption
This commit is contained in:
@@ -1896,12 +1896,10 @@ unsafe fn check_verified_properties(
|
||||
);
|
||||
dc_log_warning(context, 0i32, *failure_reason);
|
||||
current_block = 14837890932895028253;
|
||||
} else if 0
|
||||
== dc_apeerstate_has_verified_key(
|
||||
&peerstate,
|
||||
(*(*mimeparser).e2ee_helper).signatures,
|
||||
)
|
||||
{
|
||||
} else if !dc_apeerstate_has_verified_key(
|
||||
&peerstate,
|
||||
(*(*mimeparser).e2ee_helper).signatures,
|
||||
) {
|
||||
*failure_reason = dc_mprintf(
|
||||
b"%s. See \"Info\" for details.\x00" as *const u8 as *const libc::c_char,
|
||||
b"The message was sent with non-verified encryption.\x00" as *const u8
|
||||
|
||||
Reference in New Issue
Block a user