diff --git a/Telegram/SourceFiles/history/history.cpp b/Telegram/SourceFiles/history/history.cpp index 0df87b388..b1dd74e54 100644 --- a/Telegram/SourceFiles/history/history.cpp +++ b/Telegram/SourceFiles/history/history.cpp @@ -2607,17 +2607,16 @@ void History::dialogEntryApplied() { return; } if (!chatListMessage()) { + clear(ClearType::Unload); + addNewerSlice(QVector()); + addOlderSlice(QVector()); if (const auto channel = peer->asChannel()) { const auto inviter = channel->inviter; if (inviter > 0 && channel->amIn()) { if (const auto from = owner().userLoaded(inviter)) { - clear(ClearType::Unload); - addNewerSlice(QVector()); insertJoinedMessage(); } } - } else { - clear(ClearType::DeleteChat); } return; }