mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-31 04:08:31 +08:00
fixed error
This commit is contained in:
parent
27f5233826
commit
be668d1c1d
1 changed files with 1 additions and 1 deletions
2
imap.js
2
imap.js
|
@ -310,7 +310,7 @@ function clearExpiredMessages() {
|
|||
|
||||
return db.database.collection('messagelog').insertOne(
|
||||
{
|
||||
id: messageData.meta.queueId || messageData._id.toString(),
|
||||
id: (messageData.meta && messageData.meta.queueId) || messageData._id.toString(),
|
||||
action: 'DELETED',
|
||||
parentId: messageData._id,
|
||||
created: new Date()
|
||||
|
|
Loading…
Reference in a new issue