Skip to content

Commit a39ea4f

Browse files
committed
Do not encrypt docs for client-side storage
1 parent b429962 commit a39ea4f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/store/plugins/caching/documents.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ export default (store) => {
4040

4141
if (found) {
4242
debounce(found.id, async () => {
43-
const doc = await pack(found, {
44-
preferEncryption: state.settings.crypto.enabled,
45-
publicKey: state.settings.crypto.publicKey,
46-
})
43+
const doc = await pack(found)
4744

4845
cache.setItem(found.id, doc)
4946
})

0 commit comments

Comments
 (0)