From b8b5a92ad1e124efe9913fe2252193f15e3e6417 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 29 Mar 2018 17:39:46 +0100 Subject: [PATCH] update xmpp to keep working with open fire --- social/xmpp/92-xmpp.js | 6 ++++-- social/xmpp/package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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.*"