From e6b9abeca3a2a74128c65431ebe37adca1a27af6 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 9 Nov 2025 10:18:28 -0500 Subject: [PATCH] Account for pending invites in the badge notification count --- src/libneochat/neochatconnection.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libneochat/neochatconnection.cpp b/src/libneochat/neochatconnection.cpp index b02e4910d..5c15ce1ad 100644 --- a/src/libneochat/neochatconnection.cpp +++ b/src/libneochat/neochatconnection.cpp @@ -159,6 +159,10 @@ void NeoChatConnection::refreshBadgeNotificationCount() for (const auto &r : allRooms()) { if (const auto room = static_cast(r)) { count += room->contextAwareNotificationCount(); + + if (room->joinState() == JoinState::Invite) { + count++; + } } }