Fix error in locallyModified.

This commit is contained in:
wolfbeast
2018-10-06 12:37:06 +02:00
parent eae3be4cfe
commit 83e8906aa7
+1 -1
View File
@@ -1250,7 +1250,7 @@ SyncEngine.prototype = {
// because some state may change during the course of this function and we
// need to operate on the original values.
let existsLocally = this._store.itemExists(item.id);
let locallyModified = this._modified.has(item.id);
let locallyModified = item.id in this._modified;
// TODO Handle clock drift better. Tracked in bug 721181.
let remoteAge = AsyncResource.serverTime - item.modified;