importHtml: do not add an useless identity changeset

This commit is contained in:
webzwo0i 2021-10-29 00:59:06 +02:00 committed by Richard Hansen
parent f7f5e3dad8
commit 9bad1d03d3

View file

@ -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);
};