mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Added ability to restrict voice messages in conversations for everyone.
This commit is contained in:
@@ -1082,10 +1082,6 @@ rpl::producer<QString> VoicesPrivacyController::title() const {
|
||||
return tr::lng_edit_privacy_voices_title();
|
||||
}
|
||||
|
||||
bool VoicesPrivacyController::hasOption(Option option) const {
|
||||
return (option != Option::Nobody);
|
||||
}
|
||||
|
||||
rpl::producer<QString> VoicesPrivacyController::optionsTitleKey() const {
|
||||
return tr::lng_edit_privacy_voices_header();
|
||||
}
|
||||
|
||||
@@ -240,7 +240,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