FIX: tunnel_mqtt not turn on by key_field_only
Change-Id: I87446cd709e6e324ea36962182e7fae1e977b0f5
This commit is contained in:
parent
6dd2409ca5
commit
1f97147023
1 changed files with 2 additions and 2 deletions
|
@ -2887,7 +2887,7 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
}
|
||||
}
|
||||
|
||||
if (key_field_only) {
|
||||
if (!key_field_only) {
|
||||
if (!DeviceManager::EnableMultiMachine) {
|
||||
if (jj.contains("support_tunnel_mqtt")) {
|
||||
if (jj["support_tunnel_mqtt"].is_boolean()) {
|
||||
|
@ -2895,7 +2895,7 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
//supported function
|
||||
if (jj.contains("support_chamber_temp_edit")) {
|
||||
if (jj["support_chamber_temp_edit"].is_boolean()) {
|
||||
|
|
Loading…
Reference in a new issue