diff --git a/Telegram/SourceFiles/history/history.cpp b/Telegram/SourceFiles/history/history.cpp index 851d3a6a0..0ae71cc5d 100644 --- a/Telegram/SourceFiles/history/history.cpp +++ b/Telegram/SourceFiles/history/history.cpp @@ -2314,7 +2314,8 @@ bool History::shouldBeInChatList() const { || !lastMessageKnown() || (lastMessage() != nullptr); } - return true; + return !lastMessageKnown() + || (lastMessage() != nullptr); } bool History::toImportant() const {