mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-08 17:07:44 +08:00
v1.19.2
This commit is contained in:
parent
54c02937fb
commit
f8ee378ea0
2 changed files with 2 additions and 2 deletions
|
@ -3768,7 +3768,7 @@ module.exports = (db, server, messageHandler, userHandler, storageHandler) => {
|
|||
async function getFilteredMessageCount(filter) {
|
||||
if (Object.keys(filter).length === 1 && filter.mailbox) {
|
||||
// try to use cached value to get the count
|
||||
return await getMailboxCounter(db, filter.mailbox);
|
||||
return await getMailboxCounter(db, filter.mailbox, false);
|
||||
}
|
||||
|
||||
return await db.database.collection('messages').countDocuments(filter);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.19.1",
|
||||
"version": "1.19.2",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue