mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add forwards and profile photo privacy settings.
This commit is contained in:
@@ -139,6 +139,14 @@ void SetupPrivacy(not_null<Ui::VerticalLayout*> container) {
|
||||
lng_settings_last_seen,
|
||||
Privacy::Key::LastSeen,
|
||||
[] { return std::make_unique<LastSeenPrivacyController>(); });
|
||||
add(
|
||||
lng_settings_forwards_privacy,
|
||||
Privacy::Key::Forwards,
|
||||
[] { return std::make_unique<ForwardsPrivacyController>(); });
|
||||
add(
|
||||
lng_settings_profile_photo_privacy,
|
||||
Privacy::Key::ProfilePhoto,
|
||||
[] { return std::make_unique<ProfilePhotoPrivacyController>(); });
|
||||
add(
|
||||
lng_settings_calls,
|
||||
Privacy::Key::Calls,
|
||||
|
Reference in New Issue
Block a user