mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-03-04 03:45:19 +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 = {
|
logQuery = {
|
||||||
$or: [{ id: { $in: messageData.outbound } }, { parentId: messageData._id }]
|
$or: [{ id: { $in: messageData.outbound } }, { parentId: messageData._id }]
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
logQuery = {
|
||||||
|
parentId: messageData._id
|
||||||
|
};
|
||||||
}
|
}
|
||||||
if (!logQuery) {
|
if (!logQuery) {
|
||||||
return done(null, []);
|
return done(null, []);
|
||||||
|
|
Loading…
Reference in a new issue