mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
Merge pull request #1760 from bemeric1/develop
Issue #1652: Fix to client-side-induced changeset spamming.
This commit is contained in:
commit
9f2bab2ba3
1 changed files with 3 additions and 1 deletions
|
@ -2105,7 +2105,9 @@ exports.follow = function (cs1, cs2, reverseInsertOrder, pool) {
|
||||||
exports.copyOp(op2, opOut);
|
exports.copyOp(op2, opOut);
|
||||||
op2.opcode = '';
|
op2.opcode = '';
|
||||||
} else if (!op2.opcode) {
|
} else if (!op2.opcode) {
|
||||||
exports.copyOp(op1, opOut);
|
// @NOTE: Critical bugfix for EPL issue #1625. We do not copy op1 here
|
||||||
|
// in order to prevent attributes from leaking into result changesets.
|
||||||
|
// exports.copyOp(op1, opOut);
|
||||||
op1.opcode = '';
|
op1.opcode = '';
|
||||||
} else {
|
} else {
|
||||||
// both keeps
|
// both keeps
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue