FIX: tunnel_mqtt not turn on by key_field_only
Change-Id: I87446cd709e6e324ea36962182e7fae1e977b0f5
This commit is contained in:
parent
764095ca3b
commit
867d9ce2aa
|
@ -2955,7 +2955,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()) {
|
||||
|
@ -2963,7 +2963,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 New Issue