Account for pending invites in the badge notification count

This commit is contained in:
Joshua Goins
2025-11-09 10:18:28 -05:00
parent 1b45784a88
commit e6b9abeca3

View File

@@ -159,6 +159,10 @@ void NeoChatConnection::refreshBadgeNotificationCount()
for (const auto &r : allRooms()) {
if (const auto room = static_cast<NeoChatRoom *>(r)) {
count += room->contextAwareNotificationCount();
if (room->joinState() == JoinState::Invite) {
count++;
}
}
}