Allow to see who viewed message from the migrated history.
This commit is contained in:
parent
30a945a043
commit
a0110fed27
|
@ -291,10 +291,6 @@ bool WhoReadExists(not_null<HistoryItem*> item) {
|
||||||
const auto megagroup = peer->asMegagroup();
|
const auto megagroup = peer->asMegagroup();
|
||||||
if (!chat && !megagroup) {
|
if (!chat && !megagroup) {
|
||||||
return false;
|
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 &appConfig = peer->session().account().appConfig();
|
||||||
const auto expirePeriod = TimeId(appConfig.get<double>(
|
const auto expirePeriod = TimeId(appConfig.get<double>(
|
||||||
|
|
Loading…
Reference in New Issue