aboutsummaryrefslogtreecommitdiff
path: root/src/mail/user.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-12-21 21:54:36 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-12-21 21:54:36 +0100
commit012c6ad6724b6a6e155ee717e6d558e1fe199e43 (patch)
tree986377de04024911c1c460e41828dde546d5a6a6 /src/mail/user.rs
parent4b8b48b48572115b943efdf6356a191871d46a55 (diff)
downloadaerogramme-012c6ad6724b6a6e155ee717e6d558e1fe199e43.tar.gz
aerogramme-012c6ad6724b6a6e155ee717e6d558e1fe199e43.zip
initialize aws sdk with our info
Diffstat (limited to 'src/mail/user.rs')
-rw-r--r--src/mail/user.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/user.rs b/src/mail/user.rs
index 8413cbf..8d12c58 100644
--- a/src/mail/user.rs
+++ b/src/mail/user.rs
@@ -174,7 +174,7 @@ impl User {
// ---- Internal user & mailbox management ----
async fn open(username: String, creds: Credentials) -> Result<Arc<Self>> {
- let storage = creds.storage.build()?;
+ let storage = creds.storage.build().await?;
let (tx_inbox_id, rx_inbox_id) = watch::channel(None);