mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
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:
@@ -338,7 +338,7 @@ function resizehandler(e) {
|
||||
// screen resolution changes, so we might want to wait for a more
|
||||
// intentional action to say that the user has "read" a message.
|
||||
var res = unread.get_counts();
|
||||
notifications_bar.update(res.unread_in_current_view);
|
||||
notifications_bar.update(res.home_unread_messages);
|
||||
}
|
||||
|
||||
$(function () {
|
||||
|
||||
Reference in New Issue
Block a user