added todo

This commit is contained in:
Athou
2013-04-06 07:34:12 +02:00
parent 56e3f36262
commit 7050421906

View File

@@ -206,6 +206,7 @@ public class SubscriptionsREST extends AbstractREST {
sub.setName(subscription.getTitle());
sub.setMessage(subscription.getFeed().getMessage());
sub.setFeedUrl(subscription.getFeed().getLink());
// TODO use count instead of retrieving everything here
int size = feedEntryService.getEntries(subscription.getFeed(),
getUser(), true).size();
sub.setUnread(size);