From 1962a8c4de303654023846fde5636ab53637a445 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 17 Oct 2021 01:57:47 +0200 Subject: [PATCH] FIX: The response to a request received on the MQTT channel should be dispatched to /responses/, not to --- platypush/backend/mqtt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/mqtt/__init__.py b/platypush/backend/mqtt/__init__.py index edc231ca1..da2aead34 100644 --- a/platypush/backend/mqtt/__init__.py +++ b/platypush/backend/mqtt/__init__.py @@ -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