From ea898f6a24b7e6e066e0585912f44317c6e84e17 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sun, 12 Nov 2023 22:15:44 +0700 Subject: [PATCH] Revert "Update espmega_iot_core.cpp" This reverts commit e199497a78595eb3510674fd0b27f1ba3e90826c. --- src/espmega_iot_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index 02766af..587adad 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -541,7 +541,7 @@ void mqtt_callback(char *topic, byte *payload, unsigned int length) { ac_state_callback(topic, topic_length, payload_nt, length); } - user_mqtt_callback(topic, topic_length, payload_nt, length); + user_mqtt_callback(topic_trim, topic_length, payload_nt, length); } void thread_initialization()