Send checkpoints' id to the server to avoid storing duplicates

This commit is contained in:
yflory
2018-04-10 10:38:25 +02:00
parent 2381dd0e39
commit a570a73e98
3 changed files with 12 additions and 3 deletions

View File

@@ -443,7 +443,7 @@ define([
patchTransformer: options.patchTransformer || ChainPad.SmartJSONTransformer,
// cryptpad debug logging (default is 1)
// logLevel: 2,
logLevel: 2,
validateContent: options.validateContent || function (content) {
try {
JSON.parse(content);