Remove double-check of unread count

This same condition is already enforced in the markRead method.

// FREEBIE
This commit is contained in:
lilia 2015-09-17 13:46:58 -07:00
parent 1c70293bba
commit 7f4ef6e9e7

View file

@ -179,9 +179,7 @@
chrome.notifications.clear('signal');
Whisper.Notifications.clear();
getInboxCollection().each(function(model) {
if (model.get('unreadCount') > 0) {
model.markRead();
}
model.markRead();
});
});
chrome.notifications.onClosed.addListener(function(id, byUser) {