diff --git a/social/xmpp/92-xmpp.js b/social/xmpp/92-xmpp.js index da24a305..47647d7e 100644 --- a/social/xmpp/92-xmpp.js +++ b/social/xmpp/92-xmpp.js @@ -183,7 +183,7 @@ module.exports = function(RED) { if (RED.settings.verbose || LOGITALL) {that.log("got an iq query"); } if (stanza.attrs.type === 'error') { if (RED.settings.verbose || LOGITALL) {that.log("oh noes, it's an error"); } - if (stanza.attrs.id === that.lastUsed.id) { + if (that && that.hasOwnProperty("lastUsed") && that.lastUsed.hasOwnProperty("id") && stanza.attrs.id === that.lastUsed.id) { that.lastUsed.status({fill:"red", shape:"ring", text:stanza.getChild('error')}); that.lastUsed.warn(stanza.getChild('error')); } diff --git a/social/xmpp/package.json b/social/xmpp/package.json index 6dd28e03..0bd71a91 100644 --- a/social/xmpp/package.json +++ b/social/xmpp/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-xmpp", - "version": "0.5.6", + "version": "0.5.8", "description": "A Node-RED node to talk to an XMPP server", "dependencies": { "@xmpp/client": "^0.13.0" diff --git a/storage/tail/package.json b/storage/tail/package.json index aae3e94e..d95ade61 100644 --- a/storage/tail/package.json +++ b/storage/tail/package.json @@ -1,9 +1,9 @@ { "name": "node-red-node-tail", - "version": "0.3.1", + "version": "0.3.2", "description": "A node to tail files for Node-RED", "dependencies": { - "tail": "^2.2.2" + "tail": "^2.2.4" }, "repository": { "type": "git",