mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +00:00
tooltip: Fix unread count for home view tooltip includes muted messages.
Earlier, unread_count in home view tooltip was set to total unread messages while we normally exclude muted messages from unread_count. This commit changes this by setting it to `home_unread_messages`.
This commit is contained in:
committed by
Tim Abbott
parent
ee8cb9c926
commit
2bd88254a1
@@ -200,7 +200,7 @@ export function initialize(): void {
|
||||
switch (sidebar_option) {
|
||||
case user_settings.web_home_view:
|
||||
$container.find(".views-tooltip-home-view-note").removeClass("hide");
|
||||
display_count = unread.get_unread_message_count();
|
||||
display_count = unread.get_counts().home_unread_messages;
|
||||
$container.find(".views-message-count").text(
|
||||
$t(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user