mirror of https://github.com/xwiki-labs/cryptpad
change an XXX to a FIXME
This commit is contained in:
parent
fe256e8282
commit
15b935eadc
|
@ -97,7 +97,7 @@ define([
|
||||||
var checkCheckpoints = function (array) {
|
var checkCheckpoints = function (array) {
|
||||||
if (!Array.isArray(array)) { return; }
|
if (!Array.isArray(array)) { return; }
|
||||||
// Keep the last 100 messages
|
// Keep the last 100 messages
|
||||||
if (array.length > 100) { // XXX 4.11.0
|
if (array.length > 100) { // FIXME this behaviour is only valid for chainpad-style documents
|
||||||
array.splice(0, array.length - 100);
|
array.splice(0, array.length - 100);
|
||||||
}
|
}
|
||||||
// Remove every message before the first checkpoint
|
// Remove every message before the first checkpoint
|
||||||
|
|
Loading…
Reference in New Issue