summaryrefslogtreecommitdiffstats
path: root/services/sync/modules/engines.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-06 12:37:06 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-06 12:37:06 +0200
commit83e8906aa7318aab751e40b2f114585815383322 (patch)
tree3c9aa4b1f919fefa804d4058fb0a2f90d55ec6a2 /services/sync/modules/engines.js
parenteae3be4cfe133a86cc4175ebee9ce72055973b40 (diff)
downloadUXP-83e8906aa7318aab751e40b2f114585815383322.tar
UXP-83e8906aa7318aab751e40b2f114585815383322.tar.gz
UXP-83e8906aa7318aab751e40b2f114585815383322.tar.lz
UXP-83e8906aa7318aab751e40b2f114585815383322.tar.xz
UXP-83e8906aa7318aab751e40b2f114585815383322.zip
Fix error in locallyModified.
Diffstat (limited to 'services/sync/modules/engines.js')
-rw-r--r--services/sync/modules/engines.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sync/modules/engines.js b/services/sync/modules/engines.js
index 35e8d6954..8fce34ff7 100644
--- a/services/sync/modules/engines.js
+++ b/services/sync/modules/engines.js
@@ -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;