notmuch: normalize unread_recipients to lower case

This commit is contained in:
Bill Thiede 2025-02-22 17:27:30 -08:00
parent 2b6cb6ec6e
commit 393ffc8506

View File

@ -652,7 +652,7 @@ impl Notmuch {
};
let addr = &si.addr;
if addr == "couchmoney@gmail.com" || addr.ends_with("@xinu.tv") {
*r.entry(addr.clone()).or_default() += 1;
*r.entry(addr.to_lowercase()).or_default() += 1;
}
});
}