mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +03:00
fix: do not mark recipients as verified if there is no Chat-Verified header
This commit is contained in:
@@ -2454,6 +2454,10 @@ async fn mark_recipients_as_verified(
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
if mimeparser.get_header(HeaderDef::ChatVerified).is_none() {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let rows = context
|
||||
.sql
|
||||
.query_map(
|
||||
|
||||
Reference in New Issue
Block a user