mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Allow "Nobody" in group/channel invites privacy.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user