emqx / CocoaMQTT

MQTT 5.0 client library for iOS and macOS written in Swift
https://www.emqx.com/en
Other
1.6k stars 419 forks source link

Fixed wrong name of UnsubAck reasoncode 0x00 #486

Closed GunnarMorrigan closed 1 year ago

GunnarMorrigan commented 1 year ago

CocoaMQTTUNSUBACKReasonCode 0x00 was named grantedQoS0 but that reason does not exist for UNSUBACKReasonCode it should be named success. (I haven't compiled the code if this makes thing not work).

Searched the code and seems to not be used anywhere. Just a naming thing.

leeway1208 commented 1 year ago

You are right. It is just a kind of error code.haha.