From a17e7324738374bebb2832e4cc7de435e0517d74 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 10 Mar 2021 17:40:42 +0100 Subject: [PATCH] Add XXX --- lib/hk-util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hk-util.js b/lib/hk-util.js index b66e7e0b9..8780addcd 100644 --- a/lib/hk-util.js +++ b/lib/hk-util.js @@ -893,6 +893,7 @@ HK.onChannelMessage = function (Env, Server, channel, msgStruct, cb) { // more straightforward and reliable. if (Array.isArray(id) && id[2] && id[2] === channel.lastSavedCp) { // Reject duplicate checkpoints + // XXX not an error? the checkpoint is already here so we can assume it's stored return void cb('DUPLICATE'); } }