Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tooltip: Fix unread count for home view tooltip includes muted messages.

Pratik Chanda2bd88254a1df
diff --git a/web/src/tippyjs.ts b/web/src/tippyjs.ts
index 11e70c45e81..a4983f47513 100644
--- a/web/src/tippyjs.ts
+++ b/web/src/tippyjs.ts
@@ -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(
{