Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: messageResponder.js

Issue 29339651: Issue 3915 - Avoid listing special subscriptions (Closed)
Patch Set: Created April 12, 2016, 12:09 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: messageResponder.js
diff --git a/messageResponder.js b/messageResponder.js
index dab496354b91789337171c43f9d1e73f66ca7a85..55ffdcf22ad89698379187ebd30afeec499aa3cc 100644
--- a/messageResponder.js
+++ b/messageResponder.js
@@ -72,6 +72,8 @@
{
var obj = convertObject(["disabled", "downloadStatus", "homepage",
"lastDownload", "title", "url"], subscription);
+ obj.special = subscription instanceof SpecialSubscription;
Sebastian Noack 2016/04/12 12:21:34 As suggest on the issue, we can already distinguis
+ obj.downloadable = subscription instanceof DownloadableSubscription;
obj.isDownloading = Synchronizer.isExecuting(subscription.url);
return obj;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld