From cb9750427f57e5518ddb8a0fda9f0bb2291c487f Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 19 Jun 2026 12:21:29 +0400 Subject: [PATCH] Fix pre-history visibility in manage group. --- Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp index 95a2a2c5ca..4b2cef806d 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp @@ -874,7 +874,7 @@ void Controller::refreshHistoryVisibility() { (!withUsername && !_channelHasLocationOriginalValue && (!_discussionLinkSavedValue || !*_discussionLinkSavedValue) - && (!_forumSavedValue || !*_forumSavedValue)), + && !_forumSavedValue.value_or(_peer->isForum())), anim::type::instant); }