From 4bc7579e38054398fcd0daf6befc13e5193fbbe8 Mon Sep 17 00:00:00 2001 From: Igor VNC Date: Mon, 6 Jan 2020 12:08:50 +0200 Subject: [PATCH] SM: added 't' attr into 'a' element --- lib/sm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sm.js b/lib/sm.js index e6897863..3d3f5a01 100644 --- a/lib/sm.js +++ b/lib/sm.js @@ -85,7 +85,7 @@ StreamManagement.prototype = { this.pendingAck = false; for (var i = 0; i < numAcked && this.unacked.length > 0; i++) { - this.client.emit('stanza:acked', this.unacked.shift()); + this.client.emit('stanza:acked', this.unacked.shift(), ack.t); } this.lastAck = ack.h;