fix: Inline attachments are not counted as attachments and are not shown when searching for emails with attachments.

This commit is contained in:
rustmailer
2026-01-06 16:28:55 +08:00
parent d334a23ca7
commit 0c46432150
3 changed files with 13 additions and 4 deletions
+1 -3
View File
@@ -180,7 +180,7 @@ mod tests {
#[test]
fn many_small_mails() {
let mut data = Vec::new();
for i in 0..1000 {
for _ in 0..1000 {
data.extend_from_slice(b"From a\nx\n");
}
let e = collect_entries(&data);
@@ -203,8 +203,6 @@ mod tests {
determine_folder(labels)
)
}
}
}