diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-10-12 12:21:59 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-10-12 12:21:59 +0200 |
commit | a1b7ca17c0badff4c983f3738531f3aa9b0fb977 (patch) | |
tree | 419f57fbd9c179c518fd57c0e3f31098305eb4b3 /src/mail/incoming.rs | |
parent | b444ef7ef3d6e0e57726130e3b89a676cdcd6245 (diff) | |
download | aerogramme-a1b7ca17c0badff4c983f3738531f3aa9b0fb977.tar.gz aerogramme-a1b7ca17c0badff4c983f3738531f3aa9b0fb977.zip |
basic body ext testing + format
Diffstat (limited to 'src/mail/incoming.rs')
-rw-r--r-- | src/mail/incoming.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mail/incoming.rs b/src/mail/incoming.rs index 290f1b3..b7d2f48 100644 --- a/src/mail/incoming.rs +++ b/src/mail/incoming.rs @@ -450,10 +450,10 @@ impl EncryptedMessage { let por = PutObjectRequest { bucket: creds.storage.bucket.clone(), key: format!("incoming/{}", gen_ident()), - metadata: Some( - [(MESSAGE_KEY.to_string(), key_header)] - .into_iter() - .collect::<HashMap<_, _>>(), + metadata: Some( + [(MESSAGE_KEY.to_string(), key_header)] + .into_iter() + .collect::<HashMap<_, _>>(), ), body: Some(self.encrypted_body.clone().into()), ..Default::default() |