mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Try to request dependent messages on demand.
This commit is contained in:
@@ -302,7 +302,6 @@ void SetupPrivacy(
|
||||
tr::lng_settings_profile_photo_privacy(),
|
||||
Key::ProfilePhoto,
|
||||
[] { return std::make_unique<ProfilePhotoPrivacyController>(); });
|
||||
AddMessagesPrivacyButton(controller, container);
|
||||
add(
|
||||
tr::lng_settings_bio_privacy(),
|
||||
Key::About,
|
||||
@@ -326,6 +325,7 @@ void SetupPrivacy(
|
||||
tr::lng_settings_voices_privacy(),
|
||||
Key::Voices,
|
||||
[=] { return std::make_unique<VoicesPrivacyController>(session); });
|
||||
AddMessagesPrivacyButton(controller, container);
|
||||
|
||||
session->api().userPrivacy().reload(Api::UserPrivacy::Key::AddedByPhone);
|
||||
|
||||
|
Reference in New Issue
Block a user