aboutsummaryrefslogtreecommitdiff
path: root/src/mail
diff options
context:
space:
mode:
Diffstat (limited to 'src/mail')
-rw-r--r--src/mail/incoming.rs2
-rw-r--r--src/mail/mailbox.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/incoming.rs b/src/mail/incoming.rs
index 3eafac7..b17959a 100644
--- a/src/mail/incoming.rs
+++ b/src/mail/incoming.rs
@@ -429,7 +429,7 @@ impl EncryptedMessage {
storage::BlobRef(format!("incoming/{}", gen_ident())),
self.encrypted_body.clone().into(),
).with_meta(MESSAGE_KEY.to_string(), key_header);
- storage.blob_insert(&blob_val).await?;
+ storage.blob_insert(blob_val).await?;
// Update watch key to signal new mail
let watch_val = storage::RowVal::new(
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?;