From 585afcbc772f316ab52bf9b02389d7e110258229 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 11 Jan 2022 15:58:17 +0100 Subject: [PATCH] Pass property name as expected in mqtt_codec (fixes login using MQTT 5) --- src/mod_mqtt_mnesia.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_mqtt_mnesia.erl b/src/mod_mqtt_mnesia.erl index 92c43d2ee..20c533ede 100644 --- a/src/mod_mqtt_mnesia.erl +++ b/src/mod_mqtt_mnesia.erl @@ -103,7 +103,7 @@ lookup_published({_, S, _}, Topic) -> correlation_data = CorrelationData, content_type = ContentType, user_properties = UserProps}] -> - Props = #{payload_format => PayloadFormat, + Props = #{payload_format_indicator => PayloadFormat, response_topic => ResponseTopic, correlation_data => CorrelationData, content_type => ContentType,