MqttDotNet
MqttDotNet copied to clipboard
Error in MqttLib/Core/QosManage.cs
Hi,
Please check out Core/QosManage.cs Line 91. I believe that should be a MqttPubrecMessage
rather than MqttPubrelMessage
that is added to response. I tried to fixed it, but still didn't get it work properly. Is there anyone here who can help fix this?
It really seems to be wrong, since the response of a Publish with QoS=2 should be Pubrec.
It sounds like this issue is related to #3 ?
I'll happily accept a pull request if someone has a fix and there is consensus on the correct behaviour.