From 8654ffb6fb56099639b2f6c4bbe04bce9a5d73d4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 4 Jun 2025 18:26:48 +0400 Subject: [PATCH] Don't show "Who Viewed" in monoforums. --- Telegram/SourceFiles/api/api_who_reacted.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/api/api_who_reacted.cpp b/Telegram/SourceFiles/api/api_who_reacted.cpp index a5186fc6b1..88cd463dac 100644 --- a/Telegram/SourceFiles/api/api_who_reacted.cpp +++ b/Telegram/SourceFiles/api/api_who_reacted.cpp @@ -712,7 +712,8 @@ bool WhoReadExists(not_null item) { const auto megagroup = peer->asMegagroup(); if ((!chat && !megagroup) || (megagroup - && (megagroup->flags() & ChannelDataFlag::ParticipantsHidden))) { + && (megagroup->flags() & ChannelDataFlag::ParticipantsHidden)) + || megagroup->isMonoforum()) { return false; } const auto &appConfig = peer->session().appConfig();