- the issue of chunks being contaminated with invalid UTF-8 JSON.
- the issue of plain text file saving.
This commit is contained in:
vorotamoroz 2022-11-24 15:17:35 +09:00
parent 6c2eb73c29
commit a2c5f3b3f1
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ async function putDBEntry(note: LoadedEntry, passphrase: string, saveAsBigChunk:
let plainSplit = false;
let cacheUsed = 0;
const userpasswordHash = h32Raw(new TextEncoder().encode(passphrase));
if (saveAsBigChunk && shouldSplitAsPlainText(note._id)) {
if (!saveAsBigChunk && shouldSplitAsPlainText(note._id)) {
pieceSize = MAX_DOC_SIZE;
plainSplit = true;
}

@ -1 +1 @@
Subproject commit a49a096a6a6d93185bb0a590b3e84e6d7c5431d0
Subproject commit 85bb3556ba90c054d0245ece5bf02bbe51f762a2