aboutsummaryrefslogtreecommitdiff
path: root/src/mail/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-12-22 19:32:07 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-12-22 19:32:07 +0100
commit0f7764d9f05b3fccfa30ddebb52997200af13bf2 (patch)
tree14c938e5bc2edeb4814290ffb0135b600d0bacf1 /src/mail/mailbox.rs
parent1057661da77c3d94e5a1ff51ab7fc58ecdb6a53a (diff)
downloadaerogramme-0f7764d9f05b3fccfa30ddebb52997200af13bf2.tar.gz
aerogramme-0f7764d9f05b3fccfa30ddebb52997200af13bf2.zip
s3 is now implemented
Diffstat (limited to 'src/mail/mailbox.rs')
-rw-r--r--src/mail/mailbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index 60a91dd..c925f39 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -266,7 +266,7 @@ impl MailboxInternal {
async {
// Encrypt and save mail body
let message_blob = cryptoblob::seal(mail.raw, &message_key)?;
- self.storage.blob_insert(&BlobVal::new(
+ self.storage.blob_insert(BlobVal::new(
BlobRef(format!("{}/{}", self.mail_path, ident)),
message_blob,
)).await?;