From 991fe315691d580194a1791fc8fcfad9cf863284 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Mon, 17 May 2021 16:12:34 +0200 Subject: [PATCH] Reverted status MQTT message. --- wled00/mqtt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/mqtt.cpp b/wled00/mqtt.cpp index 76785665..3dd003c4 100644 --- a/wled00/mqtt.cpp +++ b/wled00/mqtt.cpp @@ -132,7 +132,7 @@ void publishMqtt() strcpy(subuf, mqttDeviceTopic); 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]; XML_response(nullptr, apires);