mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
fbad6e4c2d
commit
606f9c71e7
@ -414,9 +414,9 @@ module.exports = function(RED) {
|
|||||||
s = false;
|
s = false;
|
||||||
setInputRepeatTimeout();
|
setInputRepeatTimeout();
|
||||||
};
|
};
|
||||||
if (this.disposition === "Delete") {
|
if (node.disposition === "Delete") {
|
||||||
imap.addFlags(results, "\Deleted", cleanup);
|
imap.addFlags(results, "\Deleted", cleanup);
|
||||||
} else if (this.disposition === "Read") {
|
} else if (node.disposition === "Read") {
|
||||||
imap.addFlags(results, "\Seen", cleanup);
|
imap.addFlags(results, "\Seen", cleanup);
|
||||||
} else {
|
} else {
|
||||||
cleanup();
|
cleanup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user