aboutsummaryrefslogtreecommitdiff
path: root/src/mail/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 15:28:19 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 15:28:19 +0100
commita65f5b25894faa9802d274beb394f40062c65bae (patch)
tree990e3f3cb1a9d9eb3bbaa62bc16049ef9524d6e6 /src/mail/mailbox.rs
parent1e192f93d5bf544c82fe91fb799d77e8b5d53afe (diff)
downloadaerogramme-a65f5b25894faa9802d274beb394f40062c65bae.tar.gz
aerogramme-a65f5b25894faa9802d274beb394f40062c65bae.zip
WIP rewrite mail/incoming
Diffstat (limited to 'src/mail/mailbox.rs')
-rw-r--r--src/mail/mailbox.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index 614382e..581f432 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -49,10 +49,9 @@ impl Mailbox {
let mbox = RwLock::new(MailboxInternal {
id,
- bucket: creds.bucket().to_string(),
encryption_key: creds.keys.master.clone(),
- k2v: creds.storage.builders.row_store()?,
- s3: creds.storage.builders.blob_store()?,
+ k2v: creds.storage.row_store()?,
+ s3: creds.storage.blob_store()?,
uid_index,
mail_path,
});
@@ -183,7 +182,6 @@ struct MailboxInternal {
// 2023-05-15 will probably be used later.
#[allow(dead_code)]
id: UniqueIdent,
- bucket: String,
mail_path: String,
encryption_key: Key,