mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Remove some usages of App::main().
This commit is contained in:
@@ -164,7 +164,7 @@ void SetupPrivacy(
|
||||
add(
|
||||
tr::lng_settings_forwards_privacy(),
|
||||
Key::Forwards,
|
||||
[=] { return std::make_unique<ForwardsPrivacyController>(session); });
|
||||
[=] { return std::make_unique<ForwardsPrivacyController>(controller); });
|
||||
add(
|
||||
tr::lng_settings_profile_photo_privacy(),
|
||||
Key::ProfilePhoto,
|
||||
|
Reference in New Issue
Block a user