Commit eec4f5a403ead93b595ac9ab161e9b0746d7a06e
Committed by
Andrew Shvayka
1 parent
8769fe3a
Removed unnecessary retain of PUBLISH message for QoS 2
Showing
1 changed file
with
0 additions
and
1 deletions
... | ... | @@ -200,7 +200,6 @@ final class MqttChannelHandler extends SimpleChannelInboundHandler<MqttMessage> |
200 | 200 | |
201 | 201 | MqttIncomingQos2Publish incomingQos2Publish = new MqttIncomingQos2Publish(message); |
202 | 202 | this.client.getQos2PendingIncomingPublishes().put(message.variableHeader().packetId(), incomingQos2Publish); |
203 | - message.payload().retain(); | |
204 | 203 | |
205 | 204 | channel.writeAndFlush(pubrecMessage); |
206 | 205 | } | ... | ... |