diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-02 16:17:11 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-02 16:17:11 +0100 |
commit | bf67935c54f5f66f4cab4ceb58c1b5831b9421b0 (patch) | |
tree | c578ddead0551a585dc1bee321687e3ff39e43a2 /src/mail/incoming.rs | |
parent | a65f5b25894faa9802d274beb394f40062c65bae (diff) | |
download | aerogramme-bf67935c54f5f66f4cab4ceb58c1b5831b9421b0.tar.gz aerogramme-bf67935c54f5f66f4cab4ceb58c1b5831b9421b0.zip |
add rust analyzer to the shell
Diffstat (limited to 'src/mail/incoming.rs')
-rw-r--r-- | src/mail/incoming.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/incoming.rs b/src/mail/incoming.rs index 4e3fc8c..e550e98 100644 --- a/src/mail/incoming.rs +++ b/src/mail/incoming.rs @@ -198,7 +198,7 @@ async fn move_incoming_message( // 2 parse mail and add to inbox let msg = IMF::try_from(&plain_mail[..]).map_err(|_| anyhow!("Invalid email body"))?; inbox - .append_from_s3(msg, id, &object_key, message_key) + .append_from_s3(msg, id, object.to_ref(), message_key) .await?; // 3 delete from incoming |