1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Change MQtt node default 3.1 compatibility mode to false

This commit is contained in:
Dave Conway-Jones 2019-09-27 14:22:37 +01:00
parent 3365d26b40
commit bb70e796a1
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;