mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Remove deleted chats with users from list.
This commit is contained in:
parent
383b29dbd8
commit
0a5589f869
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue