mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
remove buggy notification code
This commit is contained in:
parent
213f31b448
commit
865f8e5c0e
2 changed files with 3 additions and 6 deletions
|
@ -125,8 +125,6 @@ public class NBSyncService extends Service {
|
|||
Set<String> orphanFeedIds;
|
||||
Set<String> disabledFeedIds;
|
||||
|
||||
Set<String> notifyFeedIds;
|
||||
|
||||
private ExecutorService primaryExecutor;
|
||||
CleanupService cleanupService;
|
||||
OriginalTextService originalTextService;
|
||||
|
@ -418,7 +416,6 @@ public class NBSyncService extends Service {
|
|||
Set<String> debugFeedIdsFromFeeds = new HashSet<String>();
|
||||
orphanFeedIds = new HashSet<String>();
|
||||
disabledFeedIds = new HashSet<String>();
|
||||
notifyFeedIds = new HashSet<String>();
|
||||
|
||||
try {
|
||||
FeedFolderResponse feedResponse = apiManager.getFolderFeedMapping(true);
|
||||
|
@ -477,9 +474,6 @@ public class NBSyncService extends Service {
|
|||
disabledFeedIds.add(feed.feedId);
|
||||
}
|
||||
feedValues.add(feed.getValues());
|
||||
if (feed.isNotify()) {
|
||||
notifyFeedIds.add(feed.feedId);
|
||||
}
|
||||
}
|
||||
// also add the implied zero-id feed
|
||||
feedValues.add(Feed.getZeroFeed().getValues());
|
||||
|
|
|
@ -142,12 +142,15 @@ public class UnreadsService extends SubService {
|
|||
}
|
||||
|
||||
for (Story story : response.stories) {
|
||||
/* need to access feed.isNotify() somehow
|
||||
|
||||
if (parent.notifyFeedIds.contains(story.feedId)) {
|
||||
// for now, only notify stories with 1+ intel
|
||||
if (story.intelligence.calcTotalIntel() > 0) {
|
||||
story.notify = true;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
parent.insertStories(response);
|
||||
|
|
Loading…
Add table
Reference in a new issue