Browse Source

imap: create message_sequence cache

Close #45 (hopefully)
tags/alpha-0.6.0
Manos Pitsidianakis 10 months ago
parent
commit
de201b5d6c
Signed by: epilys GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      melib/src/backends/imap.rs

+ 1
- 0
melib/src/backends/imap.rs View File

@ -361,6 +361,7 @@ impl MailBackend for ImapType {
}
/* reselecting the same mailbox with EXAMINE prevents expunging it */
conn.examine_mailbox(mailbox_hash, &mut response, true)?;
conn.create_uid_msn_cache(mailbox_hash, 1)?;
if examine_response.uidnext == 0 {
/* UIDNEXT shouldn't be 0, since exists != 0 at this point */
conn.send_command(

Loading…
Cancel
Save