aboutsummaryrefslogtreecommitdiff
path: root/src/imap/mailbox_view.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-07-12 15:35:25 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-12 15:35:25 +0200
commitfc2e25ce76c20a4d2e8316317c7303ae8d78b031 (patch)
tree55b0f4556df0de781fee63ef080945e6fa9d0c77 /src/imap/mailbox_view.rs
parent5d6e4f73322b26038e76e6f915c6c79c5f03566e (diff)
downloadaerogramme-fc2e25ce76c20a4d2e8316317c7303ae8d78b031.tar.gz
aerogramme-fc2e25ce76c20a4d2e8316317c7303ae8d78b031.zip
Clean up
Diffstat (limited to 'src/imap/mailbox_view.rs')
-rw-r--r--src/imap/mailbox_view.rs5
1 files changed, 0 insertions, 5 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
}