From 216b295f52aa6853715a795a0104d4b12db7356b Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 4 Jun 2024 21:26:59 +0000 Subject: [PATCH] docs(imap): document why CLOSE is faster than EXPUNGE --- src/imap/select_folder.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/imap/select_folder.rs b/src/imap/select_folder.rs index baaae3d0b..c712325b5 100644 --- a/src/imap/select_folder.rs +++ b/src/imap/select_folder.rs @@ -27,7 +27,8 @@ impl ImapSession { /// Issues a CLOSE command if selected folder needs expunge, /// i.e. if Delta Chat marked a message there as deleted previously. /// - /// CLOSE is considerably faster than an EXPUNGE, see + /// CLOSE is considerably faster than an EXPUNGE + /// because no EXPUNGE responses are sent, see /// pub(super) async fn maybe_close_folder(&mut self, context: &Context) -> anyhow::Result<()> { if let Some(folder) = &self.selected_folder {