Fixed restriction label when topic is closed.

Fixed #26344.
This commit is contained in:
23rd 2023-11-27 19:00:39 +03:00 committed by John Preston
parent bfebb1339a
commit e24b86d460
1 changed files with 2 additions and 0 deletions

View File

@ -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)