[Pkg-mozext-commits] [gcontactsync] 03/10: Issue #82: Read-only mode doesn't pull updates from Google

David Prévot taffit at moszumanska.debian.org
Fri Jun 19 16:29:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository gcontactsync.

commit 3f40b468a8df380bf9aad1717d423d48928fe0c2
Author: Josh Geenen <joshgeenen at gmail.com>
Date:   Sun Jun 7 21:39:54 2015 -0500

    Issue #82: Read-only mode doesn't pull updates from Google
---
 src/content/SyncWorker.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/content/SyncWorker.js b/src/content/SyncWorker.js
index f225209..ac02e51 100644
--- a/src/content/SyncWorker.js
+++ b/src/content/SyncWorker.js
@@ -73,7 +73,7 @@ function SyncWorker(aData) {
       gContact = aData.mGContacts[tbContact.id];
       // remove it from aData.mGContacts
       aData.mGContacts[tbContact.id]  = null;
-      gCardDate = aData.mReadOnly ? 0 : gContact.lastModified; // TODO - should this be a 1?
+      gCardDate = aData.mWriteOnly ? 1 : gContact.lastModified;
       // 4 options
       // if both were updated
       log(found +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/gcontactsync.git



More information about the Pkg-mozext-commits mailing list