diff --git a/src/TinyMqtt.cpp b/src/TinyMqtt.cpp index 8bf772d..b795676 100644 --- a/src/TinyMqtt.cpp +++ b/src/TinyMqtt.cpp @@ -638,7 +638,7 @@ void MqttClient::processMessage(MqttMessage* mesg) #endif if (callback and isSubscribedTo(published)) { - callback(this, published, payload, len); // TODO send the real payload + callback(this, published, payload, len); } } else if (local_broker) // from outside to inside