From fc2e25ce76c20a4d2e8316317c7303ae8d78b031 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 12 Jul 2022 15:35:25 +0200 Subject: Clean up --- src/imap/mailbox_view.rs | 5 ----- src/imap/session.rs | 6 ------ 2 files changed, 11 deletions(-) (limited to 'src/imap') diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs index a73bdf7..0adba18 100644 --- a/src/imap/mailbox_view.rs +++ b/src/imap/mailbox_view.rs @@ -47,9 +47,6 @@ impl MailboxView { /// has a satisfactory summary of the current mailbox's state. /// These are the messages that are sent in response to a SELECT command. pub async fn new(mailbox: Arc) -> Result<(Self, Vec)> { - // TODO THIS IS JUST A TEST REMOVE LATER - mailbox.test().await?; - let state = mailbox.current_uid_index().await; let new_view = Self { @@ -74,8 +71,6 @@ impl MailboxView { /// responses describing the changes. pub async fn sync_update(&mut self) -> Result> { self.mailbox.sync().await?; - // TODO THIS IS JUST A TEST REMOVE LATER - self.mailbox.test().await?; self.update().await } diff --git a/src/imap/session.rs b/src/imap/session.rs index 9841cf8..622a3f6 100644 --- a/src/imap/session.rs +++ b/src/imap/session.rs @@ -72,12 +72,6 @@ impl Manager { //----- -pub struct InnerContext<'a> { - pub req: &'a Request, - pub state: &'a flow::State, - pub login: &'a ArcLoginProvider, -} - pub struct Instance { rx: mpsc::Receiver, -- cgit v1.2.3