mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
importHtml: do not add an useless identity changeset
This commit is contained in:
parent
f7f5e3dad8
commit
9bad1d03d3
1 changed files with 1 additions and 1 deletions
|
@ -95,5 +95,5 @@ exports.setPadHTML = async (pad, html) => {
|
||||||
|
|
||||||
apiLogger.debug(`The changeset: ${theChangeset}`);
|
apiLogger.debug(`The changeset: ${theChangeset}`);
|
||||||
await pad.setText('\n');
|
await pad.setText('\n');
|
||||||
await pad.appendRevision(theChangeset);
|
if (!Changeset.isIdentity(theChangeset)) await pad.appendRevision(theChangeset);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue