mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 21:36:29 +03:00
serialize OK_TO_CONTINUE checks (preparing for deintendation)
This commit is contained in:
@@ -205,6 +205,8 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc
|
||||
OK_TO_CONTINUE = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
if OK_TO_CONTINUE {
|
||||
if !fingerprint.is_null() {
|
||||
if strlen(fingerprint) != 40 {
|
||||
@@ -216,6 +218,8 @@ pub unsafe fn dc_check_qr(context: &Context, qr: *const libc::c_char) -> *mut dc
|
||||
OK_TO_CONTINUE = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
if OK_TO_CONTINUE {
|
||||
if !fingerprint.is_null() {
|
||||
let peerstate =
|
||||
|
||||
Reference in New Issue
Block a user