diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-23 15:04:47 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-23 15:04:47 +0100 |
commit | 14c7a96c282e20ff0d5343a7a378554f34983d21 (patch) | |
tree | 5bca5a6ecc0084a5a094445519e74491e241272f /src/mail/user.rs | |
parent | a7c9d554f6523c384cc0a14a789e0c8d9070e605 (diff) | |
download | aerogramme-14c7a96c282e20ff0d5343a7a378554f34983d21.tar.gz aerogramme-14c7a96c282e20ff0d5343a7a378554f34983d21.zip |
extract setup logic
Diffstat (limited to 'src/mail/user.rs')
-rw-r--r-- | src/mail/user.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/user.rs b/src/mail/user.rs index 7a3e5c7..bdfb30c 100644 --- a/src/mail/user.rs +++ b/src/mail/user.rs @@ -7,7 +7,7 @@ use serde::{Deserialize, Serialize}; use tokio::sync::watch; use crate::cryptoblob::{open_deserialize, seal_serialize}; -use crate::login::{Credentials, StorageCredentials}; +use crate::login::Credentials; use crate::mail::incoming::incoming_mail_watch_process; use crate::mail::mailbox::Mailbox; use crate::mail::uidindex::ImapUidvalidity; @@ -309,7 +309,7 @@ impl User { Some(x) => self.k2v.from_orphan(x).expect("Source & target must be same storage"), None => self.k2v.row(MAILBOX_LIST_PK, MAILBOX_LIST_SK), }; - rref.set_value(list_blob).push().await?; + rref.set_value(&list_blob).push().await?; Ok(()) } } |