]> granicus.if.org Git - neomutt/commit
Handle reopen/new_mail when closing mailbox in <imap-logout-all>
authorKevin McCarthy <kevin@8t8.us>
Wed, 25 Jul 2018 01:12:20 +0000 (18:12 -0700)
committerRichard Russon <rich@flatcap.org>
Sat, 1 Sep 2018 17:06:08 +0000 (18:06 +0100)
commit2ddae452ed8dc01ad3eea5fee8f254b60aee5983
tree6d394d1500f488ba570a8cd4a5ab298c51fe7edf
parent26a6214ed06b287e67c65acf178ea9190692840f
Handle reopen/new_mail when closing mailbox in <imap-logout-all>

Other callers, such as OP_QUIT, OP_MAIN_CHANGE_FOLDER, and
OP_MAIN_SYNC_FOLDER handle the case where a sync or close_mailbox
fails due to new mail or a reopen.

OP_MAIN_LOGOUT_ALL appears to have been accidentally missed.  Add a
call to update_index() to properly sort and update vcounts.
curs_main.c