mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Support "premiums and ..." privacy editing.
This commit is contained in:
@@ -795,6 +795,11 @@ auto GroupsInvitePrivacyController::exceptionsDescription() const
|
||||
return tr::lng_edit_privacy_groups_exceptions();
|
||||
}
|
||||
|
||||
bool GroupsInvitePrivacyController::allowPremiumsToggle(
|
||||
Exception exception) const {
|
||||
return (exception == Exception::Always);
|
||||
}
|
||||
|
||||
UserPrivacy::Key CallsPrivacyController::key() const {
|
||||
return Key::Calls;
|
||||
}
|
||||
|
Reference in New Issue
Block a user