@ -97,7 +97,7 @@ define([
var checkCheckpoints = function (array) {
if (!Array.isArray(array)) { return; }
// Keep the last 100 messages
if (array.length > 100) {
if (array.length > 100) { // XXX
array.splice(0, array.length - 100);
}
// Remove every message before the first checkpoint
@ -176,7 +176,7 @@ define([
validateKey: keys.secondaryValidateKey,
owners: [myKeys.edPublic],
crypto: crypto,
Cache: Utils.Cache
//Cache: Utils.Cache // XXX
};
var results = {};
config.onError = function (info) {