mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Use a hidden-chat-specific not-accessible toast
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user