mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Fix history range issue
This commit is contained in:
parent
07096a9e25
commit
70881e2dff
@ -789,7 +789,7 @@ const handleGetHistoryRange = function (Env, Server, seq, userId, parsed) {
|
||||
if (typeof(content) !== 'string') { return void readMore(); }
|
||||
|
||||
const hash = getHash(content);
|
||||
if (hash === untilHash) { found = true; }
|
||||
if (hash === untilHash || untilHash === 'NONE') { found = true; }
|
||||
let then = hash === oldestKnownHash ? abort : readMore;
|
||||
if (found) {
|
||||
Server.send(userId, [0, HISTORY_KEEPER_ID, 'MSG', userId,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user