Remove deleted chats with users from list.

This commit is contained in:
John Preston 2019-03-12 16:08:41 +04:00
parent 383b29dbd8
commit 0a5589f869
1 changed files with 2 additions and 1 deletions

View File

@ -2314,7 +2314,8 @@ bool History::shouldBeInChatList() const {
|| !lastMessageKnown()
|| (lastMessage() != nullptr);
}
return true;
return !lastMessageKnown()
|| (lastMessage() != nullptr);
}
bool History::toImportant() const {