]> granicus.if.org Git - neomutt/commit
Fix imap buffy msg_count overwrite issue.
authorRichard Russon <rich@flatcap.org>
Mon, 25 Jul 2016 19:25:23 +0000 (12:25 -0700)
committerRichard Russon <rich@flatcap.org>
Mon, 25 Jul 2016 19:25:23 +0000 (12:25 -0700)
commitc5a9e16c0549dde89d106d82159183b31560fd34
tree3092c18b2b097630c45164e9fec5bfc7d446ddb6
parent4f175525bf59a9e271302c260185281403cf35dc
Fix imap buffy msg_count overwrite issue.

The sidebar updates the buffy->msg_count with the context.  This can
cause it to become out of sync with the imap_mboxcache.

If the imap_buffy doesn't request MESSAGES, don't overwrite the
buffy->msg_count with a stale value.
imap/command.c