Allow export of just-converted supergroup.

This commit is contained in:
John Preston 2020-06-01 14:15:46 +04:00
parent 8f80c19ae1
commit 02586ebe4b
1 changed files with 3 additions and 0 deletions

View File

@ -468,6 +468,9 @@ bool PeerData::canExportChatHistory() const {
}
}
}
if (const auto from = migrateFrom()) {
return from->canExportChatHistory();
}
return false;
}