Index: messageResponder.js |
=================================================================== |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -66,16 +66,18 @@ |
} |
return result; |
} |
function convertSubscription(subscription) |
{ |
let obj = convertObject(["disabled", "downloadStatus", "homepage", |
"lastDownload", "title", "url"], subscription); |
+ if (subscription instanceof SpecialSubscription) |
+ obj.filters = subscription.filters.map(convertFilter); |
obj.isDownloading = Synchronizer.isExecuting(subscription.url); |
return obj; |
} |
let convertFilter = convertObject.bind(null, ["text"]); |
let changeListeners = new ext.PageMap(); |
let listenedPreferences = Object.create(null); |