diff --git a/.github/workflows/ReleaseNotes.md b/.github/workflows/ReleaseNotes.md index 4d23c932..b6c54605 100644 --- a/.github/workflows/ReleaseNotes.md +++ b/.github/workflows/ReleaseNotes.md @@ -1,3 +1,4 @@ * [Server] Fixed not working _UpdateRetainedMessageAsync_ public api (#1858, thanks to @kimdiego2098). * [Client] Added support for custom CA chain validation (#1851, thanks to @rido-min). -* [Client] Fixed handling of unobserved tasks exceptions (#1871). \ No newline at end of file +* [Client] Fixed handling of unobserved tasks exceptions (#1871). +* [Client] Fixed not specified ReasonCode when using _SendExtendedAuthenticationExchangeDataAsync_ (#1882, thanks to @rido-min). \ No newline at end of file diff --git a/Source/MQTTnet/Client/MqttClient.cs b/Source/MQTTnet/Client/MqttClient.cs index ced5739f..52c5cb8c 100644 --- a/Source/MQTTnet/Client/MqttClient.cs +++ b/Source/MQTTnet/Client/MqttClient.cs @@ -309,6 +309,7 @@ namespace MQTTnet.Client AuthenticationMethod = Options.AuthenticationMethod, AuthenticationData = data.AuthenticationData, ReasonString = data.ReasonString, + ReasonCode = data.ReasonCode, UserProperties = data.UserProperties };