Remove double-check of unread count

This same condition is already enforced in the markRead method.

// FREEBIE
pull/749/head
lilia 10 years ago
parent 1c70293bba
commit 7f4ef6e9e7

@ -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) {

Loading…
Cancel
Save