diff --git a/Telegram/SourceFiles/history/history.cpp b/Telegram/SourceFiles/history/history.cpp index 447a16a8f1..998e2d2876 100644 --- a/Telegram/SourceFiles/history/history.cpp +++ b/Telegram/SourceFiles/history/history.cpp @@ -4020,11 +4020,6 @@ void History::clear(ClearType type, bool markEmpty) { } else if (const auto channel = peer->asMegagroup()) { channel->mgInfo->markupSenders.clear(); } - if (const auto forum = peer->forum()) { - forum->enumerateTopics([&](not_null topic) { - destroyMessagesByTopic(topic->rootId()); - }); - } owner().notifyHistoryChangeDelayed(this); owner().sendHistoryChangeNotifications();