mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Allow "Nobody" in group/channel invites privacy.
This commit is contained in:
parent
86f9875662
commit
7684dbc701
2 changed files with 0 additions and 5 deletions
Telegram/SourceFiles/settings
|
@ -686,10 +686,6 @@ rpl::producer<QString> GroupsInvitePrivacyController::title() const {
|
|||
return tr::lng_edit_privacy_groups_title();
|
||||
}
|
||||
|
||||
bool GroupsInvitePrivacyController::hasOption(Option option) const {
|
||||
return (option != Option::Nobody);
|
||||
}
|
||||
|
||||
rpl::producer<QString> GroupsInvitePrivacyController::optionsTitleKey(
|
||||
) const {
|
||||
return tr::lng_edit_privacy_groups_header();
|
||||
|
|
|
@ -126,7 +126,6 @@ public:
|
|||
Key key() const override;
|
||||
|
||||
rpl::producer<QString> title() const override;
|
||||
bool hasOption(Option option) const override;
|
||||
rpl::producer<QString> optionsTitleKey() const override;
|
||||
rpl::producer<QString> exceptionButtonTextKey(
|
||||
Exception exception) const override;
|
||||
|
|
Loading…
Add table
Reference in a new issue