Merge branch 'history' into historyOO

This commit is contained in:
yflory 2020-09-22 15:28:35 +02:00
commit 68423f49bc
2 changed files with 1 additions and 2 deletions

View File

@ -1456,7 +1456,6 @@ define([
var channels = Store.channels = store.channels = {};
var getVersionHash = function (clientId, data) {
var validateKey;
var fakeNetflux = Hash.createChannelId();
Store.getHistoryRange(clientId, {
cpCount: 1,

View File

@ -180,7 +180,7 @@ define([
if (semantic) {
// If semantic is truc, jump to the next patch from a different netflux ID
var author = states[idx].author;
for (j = idx; (j > 1 && j < (states.length - 1)); ((i > c) ? j++ : j--)) {
for (var j = idx; (j > 1 && j < (states.length - 1)); ((i > c) ? j++ : j--)) {
idx = j;
i = getRank(idx);
if (author !== states[j].author) {