mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
fix verifier-by addr was empty string instead of None (#3961)
fix verifier-by addr was empty string intead of None
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Securejoin: Fix adding and handling Autocrypt-Gossip headers #3914
|
- Securejoin: Fix adding and handling Autocrypt-Gossip headers #3914
|
||||||
|
- fix verifier-by addr was empty string intead of None #3961
|
||||||
- Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with
|
- Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with
|
||||||
unread messages increases #3959
|
unread messages increases #3959
|
||||||
|
|
||||||
|
|||||||
@@ -223,7 +223,10 @@ impl Peerstate {
|
|||||||
.transpose()
|
.transpose()
|
||||||
.unwrap_or_default(),
|
.unwrap_or_default(),
|
||||||
fingerprint_changed: false,
|
fingerprint_changed: false,
|
||||||
verifier: row.get("verifier")?,
|
verifier: {
|
||||||
|
let verifier: Option<String> = row.get("verifier")?;
|
||||||
|
verifier.filter(|verifier| !verifier.is_empty())
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(res)
|
Ok(res)
|
||||||
|
|||||||
Reference in New Issue
Block a user