mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Added ability to restrict voice messages in conversations for everyone.
This commit is contained in:
parent
11b711c43f
commit
e568f7ab01
2 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue