Verified Commit 1962a8c4 authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

FIX: The response to a request received on the MQTT channel should be...

FIX: The response to a request received on the MQTT channel should be dispatched to <base_topic>/responses/<id>, not to <base_topic>
parent c6647967
Pipeline #76 passed with stages
in 5 minutes and 17 seconds
......@@ -296,7 +296,7 @@ class MqttBackend(Backend):
self.logger.info('Processing response on the MQTT topic {}: {}'.
format(response_topic, response))
self.send_message(response)
self.send_message(response, topic=response_topic)
msg = msg.payload.decode('utf-8')
# noinspection PyBroadException
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment