Use a hidden-chat-specific not-accessible toast

This commit is contained in:
John Preston
2026-06-30 23:42:38 +04:00
parent 4fe184ac42
commit ea3908309f
2 changed files with 3 additions and 1 deletions
@@ -124,7 +124,8 @@ CommunityRequestableList::CommunityRequestableList(
const auto joinable = channel
&& (!community->isHidden(peer) || channel->amCreator());
if (!joinable) {
_controller->showToast(tr::lng_group_not_accessible(tr::now));
_controller->showToast(
tr::lng_community_hidden_not_accessible(tr::now));
return;
}
const auto join = [=](Fn<void()> close) {