mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +03:00
Merge pull request #1463 from deltachat/rfc724_mid_exists-ensure
Do not return "empty rfc724_mid" errors from rfc724_mid_cnt
This commit is contained in:
@@ -1432,7 +1432,10 @@ pub(crate) fn rfc724_mid_exists(
|
|||||||
context: &Context,
|
context: &Context,
|
||||||
rfc724_mid: &str,
|
rfc724_mid: &str,
|
||||||
) -> Result<Option<(String, u32, MsgId)>, Error> {
|
) -> Result<Option<(String, u32, MsgId)>, Error> {
|
||||||
ensure!(!rfc724_mid.is_empty(), "empty rfc724_mid");
|
if rfc724_mid.is_empty() {
|
||||||
|
warn!(context, "Empty rfc724_mid passed to rfc724_mid_exists");
|
||||||
|
return Ok(None);
|
||||||
|
}
|
||||||
|
|
||||||
context
|
context
|
||||||
.sql
|
.sql
|
||||||
|
|||||||
Reference in New Issue
Block a user