mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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
|
@ -686,10 +686,6 @@ rpl::producer<QString> GroupsInvitePrivacyController::title() const {
|
||||||
return tr::lng_edit_privacy_groups_title();
|
return tr::lng_edit_privacy_groups_title();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GroupsInvitePrivacyController::hasOption(Option option) const {
|
|
||||||
return (option != Option::Nobody);
|
|
||||||
}
|
|
||||||
|
|
||||||
rpl::producer<QString> GroupsInvitePrivacyController::optionsTitleKey(
|
rpl::producer<QString> GroupsInvitePrivacyController::optionsTitleKey(
|
||||||
) const {
|
) const {
|
||||||
return tr::lng_edit_privacy_groups_header();
|
return tr::lng_edit_privacy_groups_header();
|
||||||
|
|
|
@ -126,7 +126,6 @@ public:
|
||||||
Key key() const override;
|
Key key() const override;
|
||||||
|
|
||||||
rpl::producer<QString> title() const override;
|
rpl::producer<QString> title() const override;
|
||||||
bool hasOption(Option option) const override;
|
|
||||||
rpl::producer<QString> optionsTitleKey() const override;
|
rpl::producer<QString> optionsTitleKey() const override;
|
||||||
rpl::producer<QString> exceptionButtonTextKey(
|
rpl::producer<QString> exceptionButtonTextKey(
|
||||||
Exception exception) const override;
|
Exception exception) const override;
|
||||||
|
|
Loading…
Add table
Reference in a new issue