We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd684d commit 6c41888Copy full SHA for 6c41888
Sources/MQTTNIO/MQTTClientV5.swift
@@ -155,7 +155,7 @@ extension MQTTClient {
155
properties: MQTTProperties = .init()
156
) -> EventLoopFuture<MQTTSubackV5> {
157
let packetId = self.client.updatePacketId()
158
- let packet = MQTTUnsubscribePacket(subscriptions: subscriptions, properties: .init(), packetId: packetId)
+ let packet = MQTTUnsubscribePacket(subscriptions: subscriptions, properties: properties, packetId: packetId)
159
return self.client.unsubscribe(packet: packet)
160
.map { message in
161
return MQTTSubackV5(reasons: message.reasons, properties: message.properties)
0 commit comments