Browse Source

Return correct set of user properties

Return the response not the request set of user properties
release/3.x.x
Jim Schaad 5 years ago
parent
commit
d4088420cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Source/MQTTnet/Formatter/V5/MqttV500DataConverter.cs

+ 1
- 1
Source/MQTTnet/Formatter/V5/MqttV500DataConverter.cs View File

@@ -139,7 +139,7 @@ namespace MQTTnet.Formatter.V5
ReasonCode = connectionValidatorContext.ReasonCode,
Properties = new MqttConnAckPacketProperties
{
UserProperties = connectionValidatorContext.UserProperties,
UserProperties = connectionValidatorContext.ResponseUserProperties,
AuthenticationMethod = connectionValidatorContext.AuthenticationMethod,
AuthenticationData = connectionValidatorContext.ResponseAuthenticationData,
AssignedClientIdentifier = connectionValidatorContext.AssignedClientIdentifier,


Loading…
Cancel
Save