Allow to see who viewed message from the migrated history.

This commit is contained in:
John Preston 2021-11-16 12:28:46 +04:00
parent 30a945a043
commit a0110fed27
1 changed files with 0 additions and 4 deletions

View File

@ -291,10 +291,6 @@ bool WhoReadExists(not_null<HistoryItem*> item) {
const auto megagroup = peer->asMegagroup();
if (!chat && !megagroup) {
return false;
} else if (peer->migrateTo()) {
// They're all always marked as read.
// We don't know if there really are any readers.
return false;
}
const auto &appConfig = peer->session().account().appConfig();
const auto expirePeriod = TimeId(appConfig.get<double>(