From f8ee378ea06be9262af6381c96db516ceae5de40 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Wed, 8 May 2019 15:09:21 +0300 Subject: [PATCH] v1.19.2 --- lib/api/messages.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api/messages.js b/lib/api/messages.js index 4b4eb0d9..4586a870 100644 --- a/lib/api/messages.js +++ b/lib/api/messages.js @@ -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); diff --git a/package.json b/package.json index ce44c1f5..f805866a 100644 --- a/package.json +++ b/package.json @@ -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": {