imap: create message_sequence cache

Close #45 (hopefully)
pull/234/head
Manos Pitsidianakis 4 years ago
parent f8b84a192c
commit de201b5d6c
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -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