FIX: The response to a request received on the MQTT channel should be dispatched to <base_topic>/responses/<id>, not to <base_topic>

This commit is contained in:
Fabio Manganiello 2021-10-17 01:57:47 +02:00
parent c664796733
commit 1962a8c4de
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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