mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
History::dialogs and Histories::unread are private now, counting only chats from dialogs list to the badge
This commit is contained in:
@@ -273,7 +273,7 @@ void ApiWrap::gotChatFull(PeerData *peer, const MTPmessages_ChatFull &result, mt
|
||||
if (!h->isEmpty()) {
|
||||
h->clear(true);
|
||||
}
|
||||
if (!hto->dialogs.isEmpty() && !h->dialogs.isEmpty()) {
|
||||
if (hto->inChatList() && h->inChatList()) {
|
||||
App::removeDialog(h);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user