Index: lib/synchronizer.js |
=================================================================== |
--- a/lib/synchronizer.js |
+++ b/lib/synchronizer.js |
@@ -254,25 +254,25 @@ |
if (minVersion) |
subscription.requiredVersion = minVersion; |
else |
delete subscription.requiredVersion; |
// Process filters |
lines.shift(); |
- let filters = []; |
+ let filterText = []; |
for (let line of lines) |
{ |
line = Filter.normalize(line); |
if (line) |
- filters.push(Filter.fromText(line)); |
+ filterText.push(line); |
} |
- filterStorage.updateSubscriptionFilters(subscription, filters); |
+ filterStorage.updateSubscriptionFilters(subscription, filterText); |
} |
_onDownloadError(downloadable, downloadURL, error, channelStatus, |
responseStatus, redirectCallback) |
{ |
let subscription = Subscription.fromURL(downloadable.url); |
subscription.lastDownload = Math.round(Date.now() / MILLIS_IN_SECOND); |
subscription.downloadStatus = error; |