2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

History::dialogs and Histories::unread are private now, counting only chats from dialogs list to the badge

This commit is contained in:
John Preston
2016-02-28 14:58:30 +03:00
parent 7338c3e21e
commit 798f800913
12 changed files with 213 additions and 97 deletions

View File

@@ -522,7 +522,7 @@ namespace App {
if (!h->isEmpty()) {
h->clear(true);
}
if (!hto->dialogs.isEmpty() && !h->dialogs.isEmpty()) {
if (hto->inChatList() && h->inChatList()) {
App::removeDialog(h);
}
}