diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-30 14:02:57 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-30 14:03:12 +0200 |
commit | b15026ec9ca2045f7ddb21a759cb075bb1dbd014 (patch) | |
tree | 3caab71bf46f299df407b447be46398967a3c68d /src/imap/command/anonymous.rs | |
parent | 89b588338700d13e34b50836cb790c0e0d588a28 (diff) | |
download | aerogramme-b15026ec9ca2045f7ddb21a759cb075bb1dbd014.tar.gz aerogramme-b15026ec9ca2045f7ddb21a759cb075bb1dbd014.zip |
Refactor user to be shared using Arc
Diffstat (limited to 'src/imap/command/anonymous.rs')
-rw-r--r-- | src/imap/command/anonymous.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imap/command/anonymous.rs b/src/imap/command/anonymous.rs index b84b0da..3ac1f20 100644 --- a/src/imap/command/anonymous.rs +++ b/src/imap/command/anonymous.rs @@ -66,7 +66,7 @@ impl<'a> AnonymousContext<'a> { Ok(c) => c, }; - let user = User::new(u.clone(), creds)?; + let user = User::new(u.clone(), creds).await?; tracing::info!(username=%u, "connected"); Ok(( |