Replaced unreadBadge/Muted with unreadWithMentionsBadge/Muted.

This commit is contained in:
23rd
2025-09-08 22:04:14 +03:00
parent e01f53a58c
commit 9bbb8ef31c
5 changed files with 17 additions and 12 deletions

View File

@@ -247,8 +247,8 @@ void Domain::updateUnreadBadge() {
for (const auto &[index, account] : _accounts) {
if (const auto session = account->maybeSession()) {
const auto data = &session->data();
_unreadBadge += data->unreadBadge();
if (!data->unreadBadgeMuted()) {
_unreadBadge += data->unreadWithMentionsBadge();
if (!data->unreadWithMentionsBadgeMuted()) {
_unreadBadgeMuted = false;
}
}