diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html index 86c3c0b9d..cdafab9ce 100644 --- a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html +++ b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.html @@ -278,7 +278,7 @@ }}, usetls: {value: false}, verifyservercert: { value: false}, - compatmode: { value: true}, + compatmode: { value: false}, keepalive: {value:60,validate:RED.validators.number()}, cleansession: {value: true}, birthTopic: {value:""}, @@ -371,8 +371,8 @@ $("#node-config-input-usetls").prop("checked",false); } if (typeof this.compatmode === 'undefined') { - this.compatmode = true; - $("#node-config-input-compatmode").prop('checked', true); + this.compatmode = false; + $("#node-config-input-compatmode").prop('checked', false); } if (typeof this.keepalive === 'undefined') { this.keepalive = 15; diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js index 379cf8a96..4945c5c8b 100644 --- a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js +++ b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js @@ -98,7 +98,7 @@ module.exports = function(RED) { this.usews = false; } if (typeof this.compatmode === 'undefined') { - this.compatmode = true; + this.compatmode = false; } if (typeof this.verifyservercert === 'undefined') { this.verifyservercert = false;