diff --git a/social/xmpp/92-xmpp.js b/social/xmpp/92-xmpp.js index 262b5d4c..fbadad31 100644 --- a/social/xmpp/92-xmpp.js +++ b/social/xmpp/92-xmpp.js @@ -102,7 +102,8 @@ module.exports = function(RED) { host : node.host, port : node.port, skipPresence : true, - reconnect : false + reconnect : false, + preferred : "PLAIN" }); } catch(e) { @@ -179,7 +180,8 @@ module.exports = function(RED) { host : node.host, port : node.port, skipPresence : true, - reconnect : false + reconnect : false, + preferred : "PLAIN" }); } catch(e) { diff --git a/social/xmpp/package.json b/social/xmpp/package.json index 9b72311e..d3dca717 100644 --- a/social/xmpp/package.json +++ b/social/xmpp/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-xmpp", - "version" : "0.1.6", + "version" : "0.1.7", "description" : "A Node-RED node to talk to an XMPP server", "dependencies" : { "simple-xmpp" : "1.3.*"