This commit is contained in:
Andris Reinman 2021-09-06 14:54:37 +03:00
parent 2d7fb2503a
commit 6e5d8a546d
2 changed files with 3 additions and 4 deletions

View file

@ -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);
}

View file

@ -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",