Merge pull request #1716 from sharelatex:bg-fix-merge-conflict

fix incorrect merge conflict

GitOrigin-RevId: 55e19f025a433e8abbde16bd68ccbc3e21f7964f
This commit is contained in:
Brian Gough 2019-04-16 10:52:56 +01:00 committed by sharelatex
parent 5864e90794
commit 1078688895

View file

@ -1311,7 +1311,7 @@ define(['ace/ace','libs/sha1'], function () {
// console.log "SENDING OP TO SERVER", @inflightOp, @version
var lastVersion = this.__lastVersion;
this.__lastVersion = this.version;
return this.connection.send({ doc: this.name, op: this.inflightOp, v: this.version, lastV: lastVersion, hash: this.inflightOp.sha1});
return this.connection.send({ doc: this.name, op: this.inflightOp, v: this.version, lastV: lastVersion, hash: sha1});
}
// Submit an op to the server. The op maybe held for a little while before being sent, as only one