From eeb85d94226ed31eefaf3fad26c5bf3179bdfb7a Mon Sep 17 00:00:00 2001 From: Tomasz Traczyk Date: Tue, 30 Mar 2021 14:32:02 +0200 Subject: [PATCH] Handle persisting the dup flag --- persistence.js | 1 + 1 file changed, 1 insertion(+) diff --git a/persistence.js b/persistence.js index 7568aae..7f19e7f 100644 --- a/persistence.js +++ b/persistence.js @@ -200,6 +200,7 @@ MemoryPersistence.prototype.outgoingUpdate = function (client, packet, cb) { if (temp.brokerId === packet.brokerId) { if (temp.brokerCounter === packet.brokerCounter) { temp.messageId = packet.messageId + temp.dup = packet.dup return cb(null, client, packet) } /*