diff --git a/social/xmpp/92-xmpp.js b/social/xmpp/92-xmpp.js index 7281e6fc..51646cfa 100644 --- a/social/xmpp/92-xmpp.js +++ b/social/xmpp/92-xmpp.js @@ -125,7 +125,7 @@ module.exports = function(RED) { } node.on("close", function(done) { - //xmpp.setPresence('offline'); + xmpp.setPresence('offline'); xmpp.disconnect(); if (xmpp.conn) { xmpp.conn.end(); } xmpp = null; diff --git a/social/xmpp/package.json b/social/xmpp/package.json index c363949f..fe50bdb5 100644 --- a/social/xmpp/package.json +++ b/social/xmpp/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-xmpp", - "version" : "0.1.2", + "version" : "0.1.3", "description" : "A Node-RED node to talk to an XMPP server", "dependencies" : { "simple-xmpp" : "1.3.*"