Pass property name as expected in mqtt_codec (fixes login using MQTT 5)

This commit is contained in:
Badlop 2022-01-11 15:58:17 +01:00
parent 78aa187067
commit 585afcbc77
1 changed files with 1 additions and 1 deletions

View File

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