allow empty circuit if not part of topic format

This commit is contained in:
john
2018-12-02 11:34:23 +01:00
parent b608d80916
commit aec6dfccbe
Regular → Executable
+1 -1
View File
@@ -508,7 +508,7 @@ void MqttHandler::notifyTopic(const string& topic, const string& data) {
}
}
}
if (circuit.empty() || name.empty()) {
if (name.empty()) {
return;
}
logOtherInfo("mqtt", "received topic for %s %s", circuit.c_str(), name.c_str());