mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 02:16:29 +03:00
check_verified_properties: handle NULL in verified_key_fingerprint
A regression due to switching from/to rusqlite
This commit is contained in:
@@ -1929,7 +1929,7 @@ async fn check_verified_properties(
|
||||
paramsv![],
|
||||
|row| {
|
||||
let to_addr: String = row.get(0)?;
|
||||
let is_verified: i32 = row.get(1)?;
|
||||
let is_verified: i32 = row.get(1).unwrap_or(0);
|
||||
Ok((to_addr, is_verified != 0))
|
||||
},
|
||||
|rows| {
|
||||
|
||||
Reference in New Issue
Block a user