2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Count unread messages in Dialogs::MainList.

This commit is contained in:
John Preston
2020-03-16 14:20:18 +04:00
parent 9636617798
commit 38a744fe5b
13 changed files with 257 additions and 208 deletions

View File

@@ -28,7 +28,7 @@ QString ComposeFolderListEntryText(not_null<Data::Folder*> folder) {
const auto count = std::max(
int(list.size()),
folder->chatsListSize());
folder->chatsList()->fullSize().current());
const auto throwAwayLastName = (list.size() > 1)
&& (count == list.size() + 1);