From e24b86d46032137aa4b916bcea5b6dcbbefbd173 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Mon, 27 Nov 2023 19:00:39 +0300 Subject: [PATCH] Fixed restriction label when topic is closed. Fixed #26344. --- .../SourceFiles/history/view/history_view_replies_section.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp index 60a49af12..530af5fae 100644 --- a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp +++ b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp @@ -702,6 +702,8 @@ void RepliesWidget::setupComposeControls() { return !canSendAnything ? (restriction ? restriction + : topicRestriction + ? std::move(topicRestriction) : tr::lng_group_not_accessible(tr::now)) : topicRestriction ? std::move(topicRestriction)