| Index: lib/sync.js |
| =================================================================== |
| --- a/lib/sync.js |
| +++ b/lib/sync.js |
| @@ -301,17 +301,17 @@ ABPStore.prototype = |
| for (let remoteFilter of remoteSubscription.filters) |
| { |
| seenFilter[remoteFilter.text] = true; |
| let filter = Filter.fromText(remoteFilter.text); |
| if (trackerInstance.didFilterChange(filter)) |
| continue; |
| - if (filter.subscriptions.some(function(subscription) subscription instanceof SpecialSubscription)) |
| + if (filter.subscriptions.some((subscription) => subscription instanceof SpecialSubscription)) |
| { |
| // Filter might have been changed remotely |
| if (filter instanceof ActiveFilter) |
| filter.disabled = remoteFilter.disabled; |
| } |
| else |
| { |
| // Filter was added remotely, add it locally as well |