diff options
author | Quentin <quentin@dufour.io> | 2023-10-12 10:22:41 +0000 |
---|---|---|
committer | Quentin <quentin@dufour.io> | 2023-10-12 10:22:41 +0000 |
commit | 609dde413972ebeeb8cd658a5ec9f62b34b5c402 (patch) | |
tree | 419f57fbd9c179c518fd57c0e3f31098305eb4b3 /src/mail/incoming.rs | |
parent | 726b8c00159230e44e3b7726cb2c96d08073379c (diff) | |
parent | a1b7ca17c0badff4c983f3738531f3aa9b0fb977 (diff) | |
download | aerogramme-609dde413972ebeeb8cd658a5ec9f62b34b5c402.tar.gz aerogramme-609dde413972ebeeb8cd658a5ec9f62b34b5c402.zip |
Merge pull request 'partial re-implementation of body ext' (#30) from bodyext into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/pulls/30
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() |