mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
handle_mdn: compare from_id to DC_CONTACT_ID_LAST_SPECIAL
DC_MSG_ID_LAST_SPECIAL has the same value, but from_id is not a msg id.
This commit is contained in:
@@ -1293,7 +1293,7 @@ pub async fn handle_mdn(
|
|||||||
rfc724_mid: &str,
|
rfc724_mid: &str,
|
||||||
timestamp_sent: i64,
|
timestamp_sent: i64,
|
||||||
) -> Option<(ChatId, MsgId)> {
|
) -> Option<(ChatId, MsgId)> {
|
||||||
if from_id <= DC_MSG_ID_LAST_SPECIAL || rfc724_mid.is_empty() {
|
if from_id <= DC_CONTACT_ID_LAST_SPECIAL || rfc724_mid.is_empty() {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user