mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
better escape for node-red without done.
This commit is contained in:
parent
1f0ab0937d
commit
a318dc56ff
@ -77,7 +77,7 @@ module.exports = function(RED) {
|
||||
|
||||
this.on("input", function(msg, send, done) {
|
||||
if (msg.hasOwnProperty("payload")) {
|
||||
send = send || node.send;
|
||||
send = send || function() { node.send.apply(node,arguments) };
|
||||
if (smtpTransport) {
|
||||
node.status({fill:"blue",shape:"dot",text:"email.status.sending"});
|
||||
if (msg.to && node.name && (msg.to !== node.name)) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-node-email",
|
||||
"version": "1.7.0",
|
||||
"version": "1.7.1",
|
||||
"description": "Node-RED nodes to send and receive simple emails",
|
||||
"dependencies": {
|
||||
"imap": "^0.8.19",
|
||||
|
Loading…
x
Reference in New Issue
Block a user