mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 06:46:35 +03:00
fix: allow concurrent access to dc_sqlite3_t
This commit is contained in:
@@ -247,7 +247,7 @@ pub unsafe fn dc_check_qr(
|
||||
if addr.is_null() || invitenumber.is_null() || auth.is_null() {
|
||||
if 0 != dc_apeerstate_load_by_fingerprint(
|
||||
peerstate,
|
||||
&mut context.sql.clone().lock().unwrap(),
|
||||
&context.sql.clone().read().unwrap(),
|
||||
fingerprint,
|
||||
) {
|
||||
(*qr_parsed).state = 210i32;
|
||||
|
||||
Reference in New Issue
Block a user