From a0110fed27547d10b9029f1e41754c2b12253a3f Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 16 Nov 2021 12:28:46 +0400 Subject: [PATCH] Allow to see who viewed message from the migrated history. --- Telegram/SourceFiles/api/api_who_read.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Telegram/SourceFiles/api/api_who_read.cpp b/Telegram/SourceFiles/api/api_who_read.cpp index 46c56e57a..d7fcbb8ff 100644 --- a/Telegram/SourceFiles/api/api_who_read.cpp +++ b/Telegram/SourceFiles/api/api_who_read.cpp @@ -291,10 +291,6 @@ bool WhoReadExists(not_null 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(