aboutsummaryrefslogtreecommitdiff
path: root/src/mail/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-15 15:56:43 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-15 15:56:43 +0100
commit916b27d87ec7f5bff41f9dd888914d50ae067fc0 (patch)
tree68b94498bf0fed5b7abf6d4b7e4d1f2ddbbb80f4 /src/mail/mailbox.rs
parent652da6efd35f198289ba3de26b60eb2e228de73a (diff)
downloadaerogramme-916b27d87ec7f5bff41f9dd888914d50ae067fc0.tar.gz
aerogramme-916b27d87ec7f5bff41f9dd888914d50ae067fc0.zip
WIP refactor storage (new timestamp.rs file)
Diffstat (limited to 'src/mail/mailbox.rs')
-rw-r--r--src/mail/mailbox.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index e8111df..f27d50a 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -9,7 +9,7 @@ use crate::mail::uidindex::*;
use crate::mail::unique_ident::*;
use crate::mail::IMF;
use crate::storage::{RowStore, BlobStore, self};
-use crate::time::now_msec;
+use crate::timestamp::now_msec;
pub struct Mailbox {
pub(super) id: UniqueIdent,
@@ -227,7 +227,7 @@ impl MailboxInternal {
if let Some(meta) = meta_opt {
meta_vec.push(meta);
} else {
- bail!("No valid meta value in k2v for {:?}", res.to_ref().sk());
+ bail!("No valid meta value in k2v for {:?}", res.to_ref().key());
}
}