]> Sergey Matveev's repositories - public-inbox.git/commit
imap: STATUS: count messages properly
authorEric Wong <e@80x24.org>
Fri, 8 Jul 2022 11:36:37 +0000 (11:36 +0000)
committerEric Wong <e@80x24.org>
Fri, 8 Jul 2022 12:16:39 +0000 (12:16 +0000)
commitf7963248263d6c115275b2974ae02b424415f37b
treeb6b3cff50ac4fa082cdf08ad00b51e34f5a6b84c
parent6313d8bbc5f3816eb4936443fca57b411f4f6286
imap: STATUS: count messages properly

This only affects the rarely-used STATUS command, our message
count was consistely zero due to misusing ->imap_exists.

Noticed while implementing POP3 server.
lib/PublicInbox/IMAP.pm
t/imapd.t