mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-10-04 02:46:57 +08:00
autoreply fix
This commit is contained in:
parent
f2b6487f76
commit
ba35a2f25e
1 changed files with 2 additions and 2 deletions
|
@ -1110,7 +1110,7 @@ module.exports = (db, server) => {
|
|||
}
|
||||
}
|
||||
|
||||
if (!result.value.autoreply.html && 'html' in req.autoreply.params) {
|
||||
if (!result.value.autoreply.html && 'html' in req.params.autoreply) {
|
||||
result.value.autoreply.html = '';
|
||||
if (!result.value.autoreply.text) {
|
||||
// make sure we also update plaintext part
|
||||
|
@ -1388,7 +1388,7 @@ module.exports = (db, server) => {
|
|||
}
|
||||
}
|
||||
|
||||
if (!result.value.autoreply.html && 'html' in req.autoreply.params) {
|
||||
if (!result.value.autoreply.html && 'html' in req.params.autoreply) {
|
||||
result.value.autoreply.html = '';
|
||||
if (!result.value.autoreply.text) {
|
||||
// make sure we also update plaintext part
|
||||
|
|
Loading…
Add table
Reference in a new issue