mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-03-03 19:33:36 +08:00
fix timeline for single event
This commit is contained in:
parent
62262ced7e
commit
0d3ed29ebf
1 changed files with 4 additions and 0 deletions
|
@ -808,6 +808,10 @@ module.exports = (db, server, messageHandler) => {
|
|||
logQuery = {
|
||||
$or: [{ id: { $in: messageData.outbound } }, { parentId: messageData._id }]
|
||||
};
|
||||
} else {
|
||||
logQuery = {
|
||||
parentId: messageData._id
|
||||
};
|
||||
}
|
||||
if (!logQuery) {
|
||||
return done(null, []);
|
||||
|
|
Loading…
Reference in a new issue