Show the total unread count in notifications, even if narrowed.

Previously we'd display the unread count for the current narrow.

(imported from commit 4939fc5cf0efcf9662b2b359f2247f915a334ac8)
This commit is contained in:
Jessica McKellar
2013-07-18 15:55:43 -04:00
parent 8b3cd91d39
commit 45fc7ced28
2 changed files with 3 additions and 3 deletions

View File

@@ -265,9 +265,9 @@ function update_unread_counts() {
// This updates some DOM elements directly, so try to
// avoid excessive calls to this.
stream_list.update_dom_with_unread_counts(res);
notifications.update_title_count(res.unread_in_current_view);
notifications.update_title_count(res.home_unread_messages);
notifications.update_pm_count(res.private_message_count);
notifications_bar.update(res.unread_in_current_view);
notifications_bar.update(res.home_unread_messages);
}
function mark_all_as_read(cont) {