mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
docs(imap): document why CLOSE is faster than EXPUNGE
This commit is contained in:
@@ -27,7 +27,8 @@ impl ImapSession {
|
|||||||
/// Issues a CLOSE command if selected folder needs expunge,
|
/// Issues a CLOSE command if selected folder needs expunge,
|
||||||
/// i.e. if Delta Chat marked a message there as deleted previously.
|
/// 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
|
||||||
/// <https://tools.ietf.org/html/rfc3501#section-6.4.2>
|
/// <https://tools.ietf.org/html/rfc3501#section-6.4.2>
|
||||||
pub(super) async fn maybe_close_folder(&mut self, context: &Context) -> anyhow::Result<()> {
|
pub(super) async fn maybe_close_folder(&mut self, context: &Context) -> anyhow::Result<()> {
|
||||||
if let Some(folder) = &self.selected_folder {
|
if let Some(folder) = &self.selected_folder {
|
||||||
|
|||||||
Reference in New Issue
Block a user