Index: lib/notification.js |
=================================================================== |
--- a/lib/notification.js |
+++ b/lib/notification.js |
@@ -107,6 +107,8 @@ |
downloadable.softExpiration = Prefs.notificationdata.softExpiration; |
if (typeof Prefs.notificationdata.hardExpiration === "number") |
downloadable.hardExpiration = Prefs.notificationdata.hardExpiration; |
+ if ("downloadCount" in Prefs.notificationdata) |
Wladimir Palant
2014/11/10 19:18:15
Should be a number with the comments above address
Thomas Greiner
2014/11/11 17:17:18
Done.
|
+ downloadable.downloadCount = Prefs.notificationdata.downloadCount; |
yield downloadable; |
}, |
@@ -144,6 +146,7 @@ |
Prefs.notificationdata.lastError = 0; |
Prefs.notificationdata.downloadStatus = "synchronize_ok"; |
[Prefs.notificationdata.softExpiration, Prefs.notificationdata.hardExpiration] = downloader.processExpirationInterval(EXPIRATION_INTERVAL); |
+ Prefs.notificationdata.downloadCount = downloadable.downloadCount; |
saveNotificationData(); |
}, |