aboutsummaryrefslogtreecommitdiff
path: root/src/mail
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 12:18:43 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-11-02 12:18:43 +0100
commit3b363b2a7803564231e001c215ab427c99c9435b (patch)
tree01322398a509142babfb60415315da4e0d4c6527 /src/mail
parent553ea25f1854706b60ce6f087545968533ef6140 (diff)
downloadaerogramme-3b363b2a7803564231e001c215ab427c99c9435b.tar.gz
aerogramme-3b363b2a7803564231e001c215ab427c99c9435b.zip
implement equality+cmp for builders based on url
Diffstat (limited to 'src/mail')
-rw-r--r--src/mail/user.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mail/user.rs b/src/mail/user.rs
index 5523c2a..2104455 100644
--- a/src/mail/user.rs
+++ b/src/mail/user.rs
@@ -13,6 +13,7 @@ use crate::mail::incoming::incoming_mail_watch_process;
use crate::mail::mailbox::Mailbox;
use crate::mail::uidindex::ImapUidvalidity;
use crate::mail::unique_ident::{gen_ident, UniqueIdent};
+use crate::storage;
use crate::time::now_msec;
pub const MAILBOX_HIERARCHY_DELIMITER: char = '.';
@@ -455,6 +456,6 @@ enum CreatedMailbox {
// ---- User cache ----
lazy_static! {
- static ref USER_CACHE: std::sync::Mutex<HashMap<(String, StorageCredentials), Weak<User>>> =
+ static ref USER_CACHE: std::sync::Mutex<HashMap<(String, storage::Builders), Weak<User>>> =
std::sync::Mutex::new(HashMap::new());
}