Reverted status MQTT message.

This commit is contained in:
Blaz Kristan 2021-05-17 16:12:34 +02:00
parent 4a5a9b73b1
commit 991fe31569

View File

@ -132,7 +132,7 @@ void publishMqtt()
strcpy(subuf, mqttDeviceTopic); strcpy(subuf, mqttDeviceTopic);
strcat_P(subuf, PSTR("/status")); strcat_P(subuf, PSTR("/status"));
mqtt->publish(subuf, 0, false, "online"); // do not retain message mqtt->publish(subuf, 0, true, "online"); // do not retain message
char apires[1024]; char apires[1024];
XML_response(nullptr, apires); XML_response(nullptr, apires);