From 02586ebe4b998af75a470869bd7c43bd6e62ad43 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 1 Jun 2020 14:15:46 +0400 Subject: [PATCH] Allow export of just-converted supergroup. --- Telegram/SourceFiles/data/data_peer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/data/data_peer.cpp b/Telegram/SourceFiles/data/data_peer.cpp index 5f4d3f50c..e9f195d8b 100644 --- a/Telegram/SourceFiles/data/data_peer.cpp +++ b/Telegram/SourceFiles/data/data_peer.cpp @@ -468,6 +468,9 @@ bool PeerData::canExportChatHistory() const { } } } + if (const auto from = migrateFrom()) { + return from->canExportChatHistory(); + } return false; }