forked from platypush/platypush
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:
parent
c664796733
commit
1962a8c4de
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue