Fix and then disable the new OT

This commit is contained in:
Caleb James DeLisle
2017-10-23 14:22:33 +03:00
parent ce5d24a1d3
commit d7e9498143
2 changed files with 7 additions and 2 deletions

View File

@@ -362,8 +362,11 @@ define([
}).nThen(function (waitFor) {
cpNfInner = common.startRealtime({
// really basic operational transform
//transformFunction: options.transformFunction || JsonOT.validate,
patchTransformer: options.patchTransformer || JsonOT.patchTransformer,
transformFunction: options.transformFunction || JsonOT.validate,
// This one causes a big mess.
//patchTransformer: options.patchTransformer || JsonOT.patchTransformer,
// cryptpad debug logging (default is 1)
// logLevel: 0,
validateContent: options.validateContent || function (content) {