Index: lib/synchronizer.js |
=================================================================== |
--- a/lib/synchronizer.js |
+++ b/lib/synchronizer.js |
@@ -113,6 +113,7 @@ |
result.softExpiration = subscription.softExpiration * MILLIS_IN_SECOND; |
result.hardExpiration = subscription.expires * MILLIS_IN_SECOND; |
result.manual = manual; |
+ result.downloadCount = subscription.downloadCount; |
return result; |
}, |
@@ -195,6 +196,7 @@ |
// The download actually succeeded |
subscription.lastSuccess = subscription.lastDownload = Math.round(Date.now() / MILLIS_IN_SECOND); |
subscription.downloadStatus = "synchronize_ok"; |
+ subscription.downloadCount = downloadable.downloadCount; |
subscription.errors = 0; |
// Remove lines containing parameters |