- The modified document will be reflected in the storage now.
This commit is contained in:
vorotamoroz
2023-02-21 09:12:14 +09:00
parent f334974cc3
commit dbe77718c8

View File

@@ -1399,7 +1399,7 @@ export default class ObsidianLiveSyncPlugin extends Plugin {
}
return;
}
const localMtime = ~~(file?.stat?.mtime || 0 / 1000);
const localMtime = ~~((file?.stat?.mtime || 0) / 1000);
const docMtime = ~~(docEntry.mtime / 1000);
const doc = await this.localDatabase.getDBEntry(pathSrc, { rev: docEntry._rev });