aboutsummaryrefslogtreecommitdiff
path: root/src/imap
diff options
context:
space:
mode:
Diffstat (limited to 'src/imap')
-rw-r--r--src/imap/mailbox_view.rs5
-rw-r--r--src/imap/session.rs6
2 files changed, 0 insertions, 11 deletions
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<Mailbox>) -> Result<(Self, Vec<Body>)> {
- // 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<Vec<Body>> {
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<Message>,