aboutsummaryrefslogtreecommitdiff
path: root/src/mail/uidindex.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-30 17:40:59 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-30 17:40:59 +0200
commit2c61af6684c44e3558cc808c6b319bc9706adb00 (patch)
treed8828a6faed5c42665ed9a1732cb284ff045a3b7 /src/mail/uidindex.rs
parent484ad97b65ba2295aadd9cf7eaf865573b859a10 (diff)
downloadaerogramme-2c61af6684c44e3558cc808c6b319bc9706adb00.tar.gz
aerogramme-2c61af6684c44e3558cc808c6b319bc9706adb00.zip
More work on incoming mails, but no mails yet
Diffstat (limited to 'src/mail/uidindex.rs')
-rw-r--r--src/mail/uidindex.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mail/uidindex.rs b/src/mail/uidindex.rs
index 736c763..7166ea7 100644
--- a/src/mail/uidindex.rs
+++ b/src/mail/uidindex.rs
@@ -163,7 +163,8 @@ impl BayouState for UidIndex {
}
}
UidIndexOp::BumpUidvalidity(count) => {
- new.uidvalidity = ImapUidvalidity::new(new.uidvalidity.get() + *count).unwrap_or(ImapUidvalidity::new(u32::MAX).unwrap());
+ new.uidvalidity = ImapUidvalidity::new(new.uidvalidity.get() + *count)
+ .unwrap_or(ImapUidvalidity::new(u32::MAX).unwrap());
}
}
new