From 6e5d8a546d58e63903ae2e94fe7bafb8305fbf65 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Mon, 6 Sep 2021 14:54:37 +0300 Subject: [PATCH] 1.35.4 --- lib/autoreply.js | 3 +-- package.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/autoreply.js b/lib/autoreply.js index abdc2fd0..2c988732 100644 --- a/lib/autoreply.js +++ b/lib/autoreply.js @@ -2,7 +2,6 @@ const MailComposer = require('nodemailer/lib/mail-composer'); const MessageSplitter = require('./message-splitter'); -const consts = require('./consts'); const errors = require('./errors'); const { SettingsHandler } = require('./settings-handler'); @@ -64,7 +63,7 @@ async function autoreply(options, autoreplyData) { } // check limiting counters - options.messageHandler.counters.ttlcounter('wda:' + autoreplyData._id, 1, consts.MAX_AUTOREPLIES, false, (err, result) => { + options.messageHandler.counters.ttlcounter('wda:' + autoreplyData._id, 1, maxAutoreplyInterval, false, (err, result) => { if (err || !result.success) { return resolve(false); } diff --git a/package.json b/package.json index 795d2f0f..4d05ad29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wildduck", - "version": "1.35.4-beta.01", + "version": "1.35.4", "description": "IMAP/POP3 server built with Node.js and MongoDB", "main": "server.js", "scripts": { @@ -44,7 +44,7 @@ "@root/csr": "0.8.1", "accesscontrol": "2.2.1", "argon2-browser": "1.18.0", - "axios": "0.21.1", + "axios": "0.21.3", "base32.js": "0.1.0", "bcryptjs": "2.4.3", "bull": "3.29.1",