mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-01 03:50:43 +00:00
Remove deleted chats with users from list.
This commit is contained in:
parent
383b29dbd8
commit
0a5589f869
@ -2314,7 +2314,8 @@ bool History::shouldBeInChatList() const {
|
|||||||
|| !lastMessageKnown()
|
|| !lastMessageKnown()
|
||||||
|| (lastMessage() != nullptr);
|
|| (lastMessage() != nullptr);
|
||||||
}
|
}
|
||||||
return true;
|
return !lastMessageKnown()
|
||||||
|
|| (lastMessage() != nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool History::toImportant() const {
|
bool History::toImportant() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user