2
0
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:
John Preston
2019-03-19 14:39:19 +04:00
parent a34e998c42
commit 81862215b4
7 changed files with 160 additions and 5 deletions

View File

@@ -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,