mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 05:36:09 +02:00
importHtml: do not add an useless identity changeset
This commit is contained in:
parent
f7f5e3dad8
commit
9bad1d03d3
@ -95,5 +95,5 @@ exports.setPadHTML = async (pad, html) => {
|
||||
|
||||
apiLogger.debug(`The changeset: ${theChangeset}`);
|
||||
await pad.setText('\n');
|
||||
await pad.appendRevision(theChangeset);
|
||||
if (!Changeset.isIdentity(theChangeset)) await pad.appendRevision(theChangeset);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user