aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-01-11 15:58:17 +0100
committerBadlop <badlop@process-one.net>2022-01-25 13:16:07 +0100
commit585afcbc772f316ab52bf9b02389d7e110258229 (patch)
treef093d06017f9f6a33ca6f0d7b6de35dfd1aa7e47
parentMerge pull request #3757 from kianmeng/fix-typos (diff)
Pass property name as expected in mqtt_codec (fixes login using MQTT 5)
-rw-r--r--src/mod_mqtt_mnesia.erl2
1 files changed, 1 insertions, 1 deletions
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,