aboutsummaryrefslogtreecommitdiff
path: root/src/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-23 14:41:10 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-23 14:41:10 +0200
commit8a0df56cde2bfed40514b7a43405cf25848b7568 (patch)
treed6443697de48a134ddd11282530650d6bad37e89 /src/mailbox.rs
parentcea27474f9dfed289be4e7be017913d7165342f3 (diff)
downloadaerogramme-8a0df56cde2bfed40514b7a43405cf25848b7568.tar.gz
aerogramme-8a0df56cde2bfed40514b7a43405cf25848b7568.zip
Return UID validity
Diffstat (limited to 'src/mailbox.rs')
-rw-r--r--src/mailbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailbox.rs b/src/mailbox.rs
index 249d329..54c22e3 100644
--- a/src/mailbox.rs
+++ b/src/mailbox.rs
@@ -104,7 +104,7 @@ fn dump(uid_index: &Bayou<UidIndex>) {
"{} {} {}",
uid,
hex::encode(ident.0),
- s.table.get(ident).cloned().unwrap_or_default().1.join(", ")
+ s.table.get(ident).cloned().unwrap().1.join(", ")
);
}
println!("");