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; }