mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Allow to see who viewed message from the migrated history.
This commit is contained in:
parent
30a945a043
commit
a0110fed27
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue